monkey-style-guide-v2 0.0.20 → 0.0.21
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/breadcrumb/breadcrumb.component.mjs +1 -1
- package/esm2022/lib/components/toast/toast.component.mjs +1 -1
- package/esm2022/lib/interfaces/breadcrumb.mjs +1 -1
- package/esm2022/lib/interfaces/toast.mjs +2 -2
- package/esm2022/lib/services/toast.service.mjs +8 -5
- package/fesm2022/monkey-style-guide-v2.mjs +8 -5
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +4 -4
- package/lib/components/toast/toast.component.d.ts +2 -2
- package/lib/interfaces/breadcrumb.d.ts +1 -1
- package/lib/interfaces/toast.d.ts +5 -5
- package/monkey-style-guide-v2-0.0.21.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-v2-0.0.20.tgz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
|
-
import {
|
|
2
|
+
import { MonkeyBreadcrumb } from '../../interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MonkeyBreadcrumbComponent {
|
|
5
|
-
first:
|
|
6
|
-
last:
|
|
5
|
+
first: MonkeyBreadcrumb;
|
|
6
|
+
last: MonkeyBreadcrumb;
|
|
7
7
|
colapsed: boolean;
|
|
8
8
|
protected _router: Router;
|
|
9
9
|
protected _uid: string;
|
|
@@ -11,7 +11,7 @@ export declare class MonkeyBreadcrumbComponent {
|
|
|
11
11
|
get id(): string;
|
|
12
12
|
set id(value: string);
|
|
13
13
|
constructor();
|
|
14
|
-
handleNavigate(item:
|
|
14
|
+
handleNavigate(item: MonkeyBreadcrumb): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyBreadcrumbComponent, never>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyBreadcrumbComponent, "monkey-breadcrumb", never, { "first": { "alias": "first"; "required": true; }; "last": { "alias": "last"; "required": true; }; "colapsed": { "alias": "colapsed"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
static ngAcceptInputType_colapsed: unknown;
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
6
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
7
|
-
import { type
|
|
7
|
+
import { type MonkeyToastType } from '../../interfaces';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class MonkeyToastComponent {
|
|
10
10
|
private host;
|
|
11
11
|
message: string | undefined;
|
|
12
12
|
icon: string | undefined;
|
|
13
|
-
type:
|
|
13
|
+
type: MonkeyToastType;
|
|
14
14
|
isClosable: boolean;
|
|
15
15
|
actionLabel: string | undefined;
|
|
16
16
|
actionIcon: string | undefined;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ComponentRef } from '@angular/core';
|
|
2
2
|
import { MonkeyToastComponent } from '../components';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class MonkeyToastRef {
|
|
4
4
|
private readonly componentRef;
|
|
5
5
|
constructor(componentRef: ComponentRef<MonkeyToastComponent>);
|
|
6
6
|
close(): void;
|
|
7
7
|
}
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
8
|
+
export type MonkeyToastPosition = 'top-center' | 'top-left' | 'top-right' | 'bottom-center' | 'bottom-left' | 'bottom-right';
|
|
9
|
+
export type MonkeyToastType = 'default' | 'success' | 'error' | 'info' | 'question';
|
|
10
10
|
export type ToastConfig = {
|
|
11
|
-
type?:
|
|
11
|
+
type?: MonkeyToastType;
|
|
12
12
|
icon?: string;
|
|
13
13
|
isClosable?: boolean;
|
|
14
14
|
message: string;
|
|
15
|
-
position?:
|
|
15
|
+
position?: MonkeyToastPosition;
|
|
16
16
|
duration?: number;
|
|
17
17
|
keepOpen?: boolean;
|
|
18
18
|
actionLabel?: string;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|