suis 1.1.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/suis-box/suis-box.component.mjs +2 -2
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +3 -3
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.component.mjs +13 -23
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.pipe.mjs +5 -3
- package/fesm2022/suis.mjs +20 -28
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/suis-progress-bar/suis-progress-bar.component.d.ts +7 -7
- package/lib/components/suis-progress-bar/suis-progress-bar.pipe.d.ts +1 -1
- package/package.json +1 -1
@@ -1,14 +1,14 @@
|
|
1
1
|
import { SuisColor, SuisSize } from '../../types';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class SuisProgressBarComponent {
|
4
|
-
/** @internal */
|
5
|
-
_value: number;
|
6
|
-
/** @internal */
|
7
|
-
get value(): number;
|
8
4
|
/**
|
9
|
-
*
|
5
|
+
* The value corresponding to the progress bar. By default set to 0.
|
10
6
|
*/
|
11
|
-
|
7
|
+
value: number;
|
8
|
+
/**
|
9
|
+
* Maximum value of the progress bar. By default set to 100.
|
10
|
+
*/
|
11
|
+
maxValue: number;
|
12
12
|
/**
|
13
13
|
* Sets the color of the progress bar. Type of SuisColor. By default set to 'primary'.
|
14
14
|
*/
|
@@ -22,5 +22,5 @@ export declare class SuisProgressBarComponent {
|
|
22
22
|
*/
|
23
23
|
size: SuisSize;
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisProgressBarComponent, 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>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisProgressBarComponent, "suis-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
26
26
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class SuisProgressBarPipe implements PipeTransform {
|
4
|
-
transform(value: number): string;
|
4
|
+
transform(value: number, maxValue: number): string;
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisProgressBarPipe, never>;
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<SuisProgressBarPipe, "suisProgressBar", true>;
|
7
7
|
}
|