monkey-style-guide-v2 0.0.26 → 0.0.27
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/esm2022/lib/components/button/button.component.mjs +7 -6
- package/esm2022/lib/components/date-range/date-range.component.mjs +2 -2
- package/esm2022/lib/components/modal/components/confirmation.component.mjs +1 -1
- package/esm2022/lib/components/modal/components/default.mjs +1 -1
- package/esm2022/lib/components/modal/modal.module.mjs +2 -2
- package/esm2022/lib/components/table/components/pagination-action/pagination-action.mjs +1 -1
- package/esm2022/lib/components/table/table.module.mjs +1 -2
- package/esm2022/lib/components/toast/toast.component.mjs +5 -5
- package/esm2022/lib/interfaces/button.mjs +1 -1
- package/esm2022/lib/interfaces/toast.mjs +1 -1
- package/esm2022/lib/services/toast.service.mjs +12 -8
- package/fesm2022/monkey-style-guide-v2.mjs +23 -17
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +3 -2
- package/lib/interfaces/button.d.ts +1 -0
- package/lib/interfaces/toast.d.ts +1 -1
- package/lib/services/toast.service.d.ts +1 -8
- package/monkey-style-guide-v2-0.0.27.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-v2-0.0.26.tgz +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { MonkeyButtonType } from '../../interfaces/button';
|
|
1
|
+
import { MonkeyButtonColor, MonkeyButtonType } from '../../interfaces/button';
|
|
2
2
|
import { MonkeySize } from '../../interfaces/sizes';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MonkeyButtonComponent {
|
|
5
5
|
disabled: boolean;
|
|
6
|
+
color: MonkeyButtonColor;
|
|
6
7
|
size: MonkeySize;
|
|
7
8
|
type: MonkeyButtonType;
|
|
8
9
|
private readonly elementRef;
|
|
@@ -14,5 +15,5 @@ export declare class MonkeyButtonComponent {
|
|
|
14
15
|
onClick(event: PointerEvent): void;
|
|
15
16
|
get element(): HTMLElement;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyButtonComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyButtonComponent, "monkey-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["[first]", "*", "[last]"], true, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyButtonComponent, "monkey-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["[first]", "*", "[last]"], true, never>;
|
|
18
19
|
}
|
|
@@ -11,7 +11,7 @@ export declare class MonkeyToastRef {
|
|
|
11
11
|
close(): void;
|
|
12
12
|
}
|
|
13
13
|
export type MonkeyToastPosition = 'top-center' | 'top-left' | 'top-right' | 'bottom-center' | 'bottom-left' | 'bottom-right';
|
|
14
|
-
export type MonkeyToastType = 'default' | 'success' | 'error' | '
|
|
14
|
+
export type MonkeyToastType = 'default' | 'success' | 'error' | 'warning' | 'question';
|
|
15
15
|
export type ToastConfig = {
|
|
16
16
|
type?: MonkeyToastType;
|
|
17
17
|
icon?: string;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
7
1
|
import { MonkeyToastComponent } from '../components';
|
|
8
2
|
import { type ToastConfig } from '../interfaces';
|
|
9
3
|
import * as i0 from "@angular/core";
|
|
10
4
|
export declare class MonkeyToastService {
|
|
11
|
-
private overlay;
|
|
12
5
|
private lastToast?;
|
|
13
|
-
|
|
6
|
+
private overlay;
|
|
14
7
|
private getPositionStrategy;
|
|
15
8
|
show(toastConfig: ToastConfig): MonkeyToastComponent;
|
|
16
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyToastService, never>;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|