monkey-style-guide-v2 0.0.41 → 0.0.43
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/directives/_popover.scss +23 -10
- package/assets/scss/input/_styles.scss +0 -16
- package/assets/scss/theme.scss +0 -1
- package/fesm2022/monkey-style-guide-v2.mjs +558 -765
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/lib/components/avatar/avatar.component.d.ts +1 -0
- package/lib/components/filter-bar/filter-bar.component.d.ts +0 -4
- package/lib/components/index.d.ts +1 -0
- package/lib/components/input-phone/input-phone.component.d.ts +2 -1
- package/lib/components/option/option.component.d.ts +0 -2
- package/{assets/scss/util/_index.scss → lib/components/user-profile-button/index.d.ts} +3 -4
- package/lib/components/user-profile-button/user-profile-button.component.d.ts +24 -0
- package/lib/tokens/index.d.ts +1 -1
- package/monkey-style-guide-v2-0.0.43.tgz +0 -0
- package/package.json +1 -1
- package/assets/scss/util/_icon.scss +0 -10
- package/lib/components/filter-bar/components/currency/currency.component.d.ts +0 -7
- package/lib/components/filter-bar/components/currency/index.d.ts +0 -1
- package/lib/components/filter-bar/components/date/date.component.d.ts +0 -11
- package/lib/components/filter-bar/components/date/index.d.ts +0 -1
- package/lib/components/filter-bar/components/index.d.ts +0 -4
- package/lib/components/filter-bar/components/input/index.d.ts +0 -1
- package/lib/components/filter-bar/components/input/input.component.d.ts +0 -6
- package/lib/components/filter-bar/components/status/index.d.ts +0 -1
- package/lib/components/filter-bar/components/status/status.component.d.ts +0 -5
- package/monkey-style-guide-v2-0.0.41.tgz +0 -0
|
@@ -5,15 +5,11 @@ export declare class MonkeyFilterBarComponent implements AfterContentInit, OnDes
|
|
|
5
5
|
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
6
6
|
showPopOver: boolean;
|
|
7
7
|
elementTarget: HTMLElement | null;
|
|
8
|
-
showPopOverInternal: boolean;
|
|
9
|
-
elementTargetInternal: HTMLElement | null;
|
|
10
8
|
closePopOver: () => void;
|
|
11
|
-
closePopOverInternal: () => void;
|
|
12
9
|
ngAfterContentInit(): void;
|
|
13
10
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14
11
|
ngOnDestroy(): void;
|
|
15
12
|
onShowPopOver(el: MonkeyButtonComponent): void;
|
|
16
|
-
onShowPopOverInternal(el: MouseEvent): void;
|
|
17
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarComponent, never>;
|
|
18
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarComponent, "monkey-filter-bar", never, {}, {}, never, never, true, never>;
|
|
19
15
|
}
|
|
@@ -4,6 +4,7 @@ import { Subject } from 'rxjs';
|
|
|
4
4
|
import { MonkeyFormFieldControl } from '../form-field';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
interface Country {
|
|
7
|
+
iso: string;
|
|
7
8
|
code: string;
|
|
8
9
|
name: string;
|
|
9
10
|
flag: string;
|
|
@@ -23,7 +24,7 @@ export declare class MonkeyInputPhoneComponent implements MonkeyFormFieldControl
|
|
|
23
24
|
constructor();
|
|
24
25
|
ngControl: NgControl | null;
|
|
25
26
|
private readonly idGenerator;
|
|
26
|
-
private readonly
|
|
27
|
+
private readonly countryIsoCode;
|
|
27
28
|
private readonly locale;
|
|
28
29
|
readonly id: string;
|
|
29
30
|
readonly inputId: string;
|
|
@@ -11,11 +11,9 @@ export declare class MonkeyOptionComponent {
|
|
|
11
11
|
tabIndex: number;
|
|
12
12
|
action: Function;
|
|
13
13
|
readonly id: string;
|
|
14
|
-
private readonly elementRef;
|
|
15
14
|
private handleAction;
|
|
16
15
|
onClick(event: MouseEvent): void;
|
|
17
16
|
handleKeyDown(event: KeyboardEvent): void;
|
|
18
|
-
get element(): HTMLElement;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyOptionComponent, never>;
|
|
20
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyOptionComponent, "monkey-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
19
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/** ************************
|
|
2
2
|
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
3
|
* This style guide was developed by Monkey Exchange Team
|
|
4
4
|
* MIT Licence
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@use 'icon';
|
|
5
|
+
************************* */
|
|
6
|
+
export * from './user-profile-button.component';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** ************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
************************* */
|
|
6
|
+
import { ElementRef } from '@angular/core';
|
|
7
|
+
import { MonkeySize } from '../../interfaces';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MonkeyUserProfileButtonComponent {
|
|
10
|
+
protected _uid: string;
|
|
11
|
+
elementRef: ElementRef<any>;
|
|
12
|
+
size: MonkeySize;
|
|
13
|
+
name: string;
|
|
14
|
+
iconName: string;
|
|
15
|
+
protected _id: string;
|
|
16
|
+
open: boolean;
|
|
17
|
+
get id(): string;
|
|
18
|
+
set id(value: string);
|
|
19
|
+
constructor();
|
|
20
|
+
onClick(event: MouseEvent): void;
|
|
21
|
+
handleClose: () => void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyUserProfileButtonComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyUserProfileButtonComponent, "monkey-user-profile-button", never, { "size": { "alias": "size"; "required": false; }; "name": { "alias": "name"; "required": true; }; "iconName": { "alias": "iconName"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
|
+
}
|
package/lib/tokens/index.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ import { InjectionToken } from '@angular/core';
|
|
|
7
7
|
import { BehaviorSubject } from 'rxjs';
|
|
8
8
|
export declare const MECX_I18N_WRAPPER: InjectionToken<BehaviorSubject<string>>;
|
|
9
9
|
export declare const MECX_POPOVER_OPTIONS: InjectionToken<unknown>;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const MECX_COUNTRY_ISO_CODE: InjectionToken<string>;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MonkeyFilterBarCurrencyComponent {
|
|
3
|
-
option: string;
|
|
4
|
-
value: number;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarCurrencyComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarCurrencyComponent, "monkey-filter-bar-currency", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './currency.component';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MonkeyFilterBarDateComponent {
|
|
4
|
-
internalTarget: HTMLElement | null;
|
|
5
|
-
onClose: EventEmitter<any>;
|
|
6
|
-
showPopOver: boolean;
|
|
7
|
-
closePopOver: () => void;
|
|
8
|
-
onShowPopOver(el: MouseEvent): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarDateComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarDateComponent, "monkey-filter-bar-date", never, { "internalTarget": { "alias": "internalTarget"; "required": false; }; }, { "onClose": "onClose"; }, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './date.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input.component';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MonkeyFilterBarInputComponent {
|
|
3
|
-
value: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarInputComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarInputComponent, "monkey-filter-bar-input", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './status.component';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MonkeyFilterBarStatusComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarStatusComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarStatusComponent, "monkey-filter-bar-status", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
Binary file
|