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.
- package/README.md +5 -3
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/suis-button/suis-button.component.mjs +7 -56
- package/esm2022/lib/components/suis-button-outlined/index.mjs +2 -0
- package/esm2022/lib/components/suis-button-outlined/suis-button-outlined.component.mjs +17 -0
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +3 -3
- package/esm2022/lib/components/suis-table/suis-table.component.mjs +3 -3
- package/esm2022/lib/shared/classes/suis-button.base.mjs +5 -5
- package/fesm2022/suis.mjs +192 -232
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/suis-button/suis-button.component.d.ts +3 -16
- package/lib/components/suis-button-outlined/index.d.ts +1 -0
- package/lib/components/suis-button-outlined/suis-button-outlined.component.d.ts +6 -0
- package/lib/shared/classes/suis-button.base.d.ts +3 -3
- package/package.json +1 -1
@@ -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 {
|
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
|
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
|
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
|
22
|
+
* Sets width to 100% instead of fit-content. By default set to false.
|
23
23
|
*/
|
24
|
-
|
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; }; "
|
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
|
}
|