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.
@@ -1,9 +1,9 @@
1
1
  import { Router } from '@angular/router';
2
- import { Breadcrumb } from '../../interfaces';
2
+ import { MonkeyBreadcrumb } from '../../interfaces';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MonkeyBreadcrumbComponent {
5
- first: Breadcrumb;
6
- last: Breadcrumb;
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: Breadcrumb): void;
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 ToastType } from '../../interfaces';
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: ToastType;
13
+ type: MonkeyToastType;
14
14
  isClosable: boolean;
15
15
  actionLabel: string | undefined;
16
16
  actionIcon: string | undefined;
@@ -1,4 +1,4 @@
1
- export interface Breadcrumb {
1
+ export interface MonkeyBreadcrumb {
2
2
  label: string;
3
3
  path?: string;
4
4
  callback?: Function;
@@ -1,18 +1,18 @@
1
1
  import { ComponentRef } from '@angular/core';
2
2
  import { MonkeyToastComponent } from '../components';
3
- export declare class ToastRef {
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 ToastPosition = 'top-center' | 'top-left' | 'top-right' | 'bottom-center' | 'bottom-left' | 'bottom-right';
9
- export type ToastType = 'default' | 'success' | 'error' | 'info' | 'question';
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?: ToastType;
11
+ type?: MonkeyToastType;
12
12
  icon?: string;
13
13
  isClosable?: boolean;
14
14
  message: string;
15
- position?: ToastPosition;
15
+ position?: MonkeyToastPosition;
16
16
  duration?: number;
17
17
  keepOpen?: boolean;
18
18
  actionLabel?: string;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-style-guide-v2",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.1.2",
6
6
  "@angular/core": "^18.1.2",
Binary file