suis 0.21.1 → 0.22.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.
@@ -2,6 +2,7 @@ export * from './suis-alert';
2
2
  export * from './suis-box';
3
3
  export * from './suis-breadcrumbs';
4
4
  export * from './suis-button';
5
+ export * from './suis-button-outlined';
5
6
  export * from './suis-chip';
6
7
  export * from './suis-container';
7
8
  export * from './suis-form-field';
@@ -1,19 +1,6 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { SuisButtonBase } from '../../shared/classes';
1
+ import { SuisButtonBase } from '../../shared/classes/suis-button.base';
3
2
  import * as i0 from "@angular/core";
4
- export declare class SuisButtonComponent extends SuisButtonBase implements AfterViewInit {
5
- ngAfterViewInit(): void;
3
+ export declare class SuisButtonComponent extends SuisButtonBase {
6
4
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisButtonComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisButtonComponent, "button[suisButton]", never, {}, {}, never, ["*"], true, never>;
8
- }
9
- export declare class SuisButtonOutlinedComponent extends SuisButtonBase implements AfterViewInit {
10
- ngAfterViewInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SuisButtonOutlinedComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisButtonOutlinedComponent, "button[suisButtonOutlined]", never, {}, {}, never, ["*"], true, never>;
13
- }
14
- export declare class SuisAnchorButtonComponent extends SuisButtonBase implements AfterViewInit {
15
- ngAfterViewInit(): void;
16
- onClick(event: Event): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<SuisAnchorButtonComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisAnchorButtonComponent, "a[suisButton]", never, {}, {}, never, ["*"], true, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisButtonComponent, "suis-button", never, {}, {}, never, ["*"], true, never>;
19
6
  }
@@ -0,0 +1 @@
1
+ export * from './suis-button-outlined.component';
@@ -0,0 +1,6 @@
1
+ import { SuisButtonBase } from '../../shared/classes/suis-button.base';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SuisButtonOutlinedComponent extends SuisButtonBase {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuisButtonOutlinedComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisButtonOutlinedComponent, "suis-button-outlined", never, {}, {}, never, ["*"], true, never>;
6
+ }
@@ -19,9 +19,9 @@ export declare abstract class SuisButtonBase {
19
19
  */
20
20
  loading: boolean;
21
21
  /**
22
- * Sets width to fit-content instead of 100%. By default set to false.
22
+ * Sets width to 100% instead of fit-content. By default set to false.
23
23
  */
24
- fitContent: boolean;
24
+ fullWidth: boolean;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisButtonBase, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<SuisButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; }, {}, never, never, false, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SuisButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, never, false, never>;
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suis",
3
- "version": "0.21.1",
3
+ "version": "0.22.0",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
6
  "description": "SUIS (Standalone UI + Signals) Angular 16+ Component Library",