monkey-style-guide 2.0.127 → 2.0.130
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/assets/scss/partials/_forms.scss +1 -1
- package/assets/scss/partials/components/_buttons.scss +43 -0
- package/esm2020/lib/components/button/button-loading.component.mjs +78 -0
- package/esm2020/lib/components/button/button.module.mjs +22 -5
- package/esm2020/lib/components/button/index.mjs +2 -1
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +26 -32
- package/esm2020/lib/components/input/input.component.mjs +8 -4
- package/esm2020/lib/core/services/snackbar/mokey-style-guide-snackbar.service.mjs +7 -3
- package/fesm2015/monkey-style-guide.mjs +133 -41
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +133 -41
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/lib/components/button/button-loading.component.d.ts +12 -0
- package/lib/components/button/button.module.d.ts +6 -5
- package/lib/components/button/index.d.ts +1 -0
- package/lib/core/services/snackbar/mokey-style-guide-snackbar.service.d.ts +2 -0
- package/monkey-style-guide-2.0.130.tgz +0 -0
- package/package.json +2 -2
- package/monkey-style-guide-2.0.127.tgz +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MonkeyButtonLoadingComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
type: string;
|
|
5
|
+
color: string;
|
|
6
|
+
size: 'sm' | 'md' | 'lg';
|
|
7
|
+
progress: number;
|
|
8
|
+
totalProgress: number;
|
|
9
|
+
_id: string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyButtonLoadingComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyButtonLoadingComponent, "monkey-button-loading", never, { "label": "label"; "type": "type"; "color": "color"; "size": "size"; "progress": "progress"; "totalProgress": "totalProgress"; }, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./button.component";
|
|
3
3
|
import * as i2 from "./button-dropdown.component";
|
|
4
|
-
import * as i3 from "./button-
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "
|
|
4
|
+
import * as i3 from "./button-loading.component";
|
|
5
|
+
import * as i4 from "./button-avatar.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../icon/icon.module";
|
|
8
9
|
export declare class MonkeyButtonModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyButtonModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyButtonModule, [typeof i1.MonkeyButtonComponent, typeof i2.MonkeyButtonDropdownComponent, typeof i3.MonkeyButtonAvatarComponent], [typeof
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyButtonModule, [typeof i1.MonkeyButtonComponent, typeof i2.MonkeyButtonDropdownComponent, typeof i3.MonkeyButtonLoadingComponent, typeof i4.MonkeyButtonAvatarComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.MonkeyIconModule], [typeof i1.MonkeyButtonComponent, typeof i2.MonkeyButtonDropdownComponent, typeof i3.MonkeyButtonLoadingComponent, typeof i4.MonkeyButtonAvatarComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyButtonModule>;
|
|
12
13
|
}
|
|
@@ -10,11 +10,13 @@ interface SnackbarActionConfig {
|
|
|
10
10
|
style: 'link' | 'button';
|
|
11
11
|
label: string;
|
|
12
12
|
action: Function;
|
|
13
|
+
keepOnAction?: boolean;
|
|
13
14
|
};
|
|
14
15
|
cancel?: {
|
|
15
16
|
style: 'link' | 'button';
|
|
16
17
|
label: string;
|
|
17
18
|
action: Function;
|
|
19
|
+
keepOnAction?: boolean;
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
interface SnackbarConfig {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monkey-style-guide",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.130",
|
|
4
4
|
"author": "Monkey Exchange",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": "^13.1.1",
|
|
8
8
|
"@angular/core": "^13.1.1",
|
|
9
9
|
"@angular/forms": "^13.1.1",
|
|
10
|
-
"moment": "^2.29.
|
|
10
|
+
"moment": "^2.29.2",
|
|
11
11
|
"ngx-mask": "^12.0.0",
|
|
12
12
|
"google-libphonenumber": "^3.2.25"
|
|
13
13
|
},
|
|
Binary file
|