monkey-style-guide 2.0.130 → 2.0.131
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/components/_buttons.scss +0 -43
- package/esm2020/lib/components/button/button.module.mjs +5 -22
- package/esm2020/lib/components/button/index.mjs +1 -2
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +17 -17
- package/esm2020/lib/components/input/input.component.mjs +4 -8
- package/fesm2015/monkey-style-guide.mjs +24 -118
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +24 -118
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/lib/components/button/button.module.d.ts +5 -6
- package/lib/components/button/index.d.ts +0 -1
- package/monkey-style-guide-2.0.131.tgz +0 -0
- package/package.json +1 -1
- package/esm2020/lib/components/button/button-loading.component.mjs +0 -78
- package/lib/components/button/button-loading.component.d.ts +0 -12
- package/monkey-style-guide-2.0.130.tgz +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
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 "
|
|
8
|
-
import * as i7 from "../icon/icon.module";
|
|
4
|
+
import * as i3 from "./button-avatar.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
9
8
|
export declare class MonkeyButtonModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyButtonModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyButtonModule, [typeof i1.MonkeyButtonComponent, typeof i2.MonkeyButtonDropdownComponent, typeof i3.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyButtonModule, [typeof i1.MonkeyButtonComponent, typeof i2.MonkeyButtonDropdownComponent, typeof i3.MonkeyButtonAvatarComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MonkeyIconModule], [typeof i1.MonkeyButtonComponent, typeof i2.MonkeyButtonDropdownComponent, typeof i3.MonkeyButtonAvatarComponent]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyButtonModule>;
|
|
13
12
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
**************************/
|
|
6
|
-
import { Component, ViewEncapsulation, Input } from '@angular/core';
|
|
7
|
-
import { MonkeyUtils } from '../../core/utils';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular/common";
|
|
10
|
-
export class MonkeyButtonLoadingComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.size = 'md';
|
|
13
|
-
this._id = `mecx-button-loading-${MonkeyUtils.getRandomString(10)}`;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
MonkeyButtonLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyButtonLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
MonkeyButtonLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyButtonLoadingComponent, selector: "monkey-button-loading", inputs: { label: "label", type: "type", color: "color", size: "size", progress: "progress", totalProgress: "totalProgress" }, ngImport: i0, template: `
|
|
18
|
-
<button
|
|
19
|
-
[ngClass]="
|
|
20
|
-
'mecx-button-' +
|
|
21
|
-
type +
|
|
22
|
-
' mecx-button-' +
|
|
23
|
-
type +
|
|
24
|
-
'__' +
|
|
25
|
-
color +
|
|
26
|
-
' no-icon' +
|
|
27
|
-
' ' +
|
|
28
|
-
size
|
|
29
|
-
"
|
|
30
|
-
type="button"
|
|
31
|
-
[id]="_id"
|
|
32
|
-
>
|
|
33
|
-
<mecx-button-progress-info>
|
|
34
|
-
<span [style.width.%]="progress"> {{ progress }}%</span>
|
|
35
|
-
</mecx-button-progress-info>
|
|
36
|
-
</button>
|
|
37
|
-
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyButtonLoadingComponent, decorators: [{
|
|
39
|
-
type: Component,
|
|
40
|
-
args: [{
|
|
41
|
-
selector: 'monkey-button-loading',
|
|
42
|
-
template: `
|
|
43
|
-
<button
|
|
44
|
-
[ngClass]="
|
|
45
|
-
'mecx-button-' +
|
|
46
|
-
type +
|
|
47
|
-
' mecx-button-' +
|
|
48
|
-
type +
|
|
49
|
-
'__' +
|
|
50
|
-
color +
|
|
51
|
-
' no-icon' +
|
|
52
|
-
' ' +
|
|
53
|
-
size
|
|
54
|
-
"
|
|
55
|
-
type="button"
|
|
56
|
-
[id]="_id"
|
|
57
|
-
>
|
|
58
|
-
<mecx-button-progress-info>
|
|
59
|
-
<span [style.width.%]="progress"> {{ progress }}%</span>
|
|
60
|
-
</mecx-button-progress-info>
|
|
61
|
-
</button>
|
|
62
|
-
`,
|
|
63
|
-
encapsulation: ViewEncapsulation.None
|
|
64
|
-
}]
|
|
65
|
-
}], propDecorators: { label: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], type: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], color: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], size: [{
|
|
72
|
-
type: Input
|
|
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gPHNwYW4gW3N0eWxlLndpZHRoLiVdPVwicHJvZ3Jlc3NcIj4ge3sgcHJvZ3Jlc3MgfX0lPC9zcGFuPlxyXG4gICAgICA8L21lY3gtYnV0dG9uLXByb2dyZXNzLWluZm8+XHJcbiAgICA8L2J1dHRvbj5cclxuICAgYCxcclxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBNb25rZXlCdXR0b25Mb2FkaW5nQ29tcG9uZW50IHtcclxuICBASW5wdXQoKSBsYWJlbDogc3RyaW5nO1xyXG4gIEBJbnB1dCgpIHR5cGU6IHN0cmluZztcclxuICBASW5wdXQoKSBjb2xvcjogc3RyaW5nO1xyXG4gIEBJbnB1dCgpIHNpemU6ICdzbScgfCAnbWQnIHwgJ2xnJyA9ICdtZCc7XHJcbiAgQElucHV0KCkgcHJvZ3Jlc3M6IG51bWJlcjtcclxuICBASW5wdXQoKSB0b3RhbFByb2dyZXNzOiBudW1iZXI7XHJcblxyXG4gIHB1YmxpYyBfaWQgPSBgbWVjeC1idXR0b24tbG9hZGluZy0ke01vbmtleVV0aWxzLmdldFJhbmRvbVN0cmluZygxMCl9YDtcclxufVxyXG4iXX0=
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
Binary file
|