Comparing version 0.5.0 to 0.5.1
@@ -0,9 +1,21 @@ | ||
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { NgxFillMode, NgxRounded, NgxSize } from './typings'; | ||
import { ColorConverter } from 'ngx-eagle/core/services'; | ||
import { ColorContrast } from 'ngx-eagle/core/types'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ButtonDirective { | ||
export declare class ButtonDirective implements OnInit, OnChanges { | ||
private renderer; | ||
private elementRef; | ||
private colorConverter; | ||
ngxColor: ColorContrast | string; | ||
ngxSize: NgxSize; | ||
ngxRounded: NgxRounded; | ||
ngxFillMode: NgxFillMode; | ||
constructor(renderer: Renderer2, elementRef: ElementRef, colorConverter: ColorConverter); | ||
ngOnChanges(changes: SimpleChanges): void; | ||
ngOnInit(): void; | ||
setColorByMode(color: ColorContrast | string): void; | ||
setColor(backgroundColor: string, color: string, borderColor: string): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "button[ngx-button]", never, { "ngxSize": { "alias": "ngxSize"; "required": false; }; "ngxRounded": { "alias": "ngxRounded"; "required": false; }; "ngxFillMode": { "alias": "ngxFillMode"; "required": false; }; }, {}, never, never, true, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "button[ngx-button]", never, { "ngxColor": { "alias": "ngxColor"; "required": false; }; "ngxSize": { "alias": "ngxSize"; "required": false; }; "ngxRounded": { "alias": "ngxRounded"; "required": false; }; "ngxFillMode": { "alias": "ngxFillMode"; "required": false; }; }, {}, never, never, true, never>; | ||
} |
export * from './guid/guid.service'; | ||
export * from './color-converter/color-converter.service'; |
{ | ||
"name": "ngx-eagle", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"license": "MIT", | ||
@@ -75,7 +75,7 @@ "description": "UI component infrastructure and Design components for mobile and desktop Angular web applications.", | ||
}, | ||
"./carousel": { | ||
"types": "./carousel/index.d.ts", | ||
"esm2022": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"esm": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"default": "./fesm2022/ngx-eagle-carousel.mjs" | ||
"./card": { | ||
"types": "./card/index.d.ts", | ||
"esm2022": "./esm2022/card/ngx-eagle-card.mjs", | ||
"esm": "./esm2022/card/ngx-eagle-card.mjs", | ||
"default": "./fesm2022/ngx-eagle-card.mjs" | ||
}, | ||
@@ -88,8 +88,14 @@ "./button": { | ||
}, | ||
"./card": { | ||
"types": "./card/index.d.ts", | ||
"esm2022": "./esm2022/card/ngx-eagle-card.mjs", | ||
"esm": "./esm2022/card/ngx-eagle-card.mjs", | ||
"default": "./fesm2022/ngx-eagle-card.mjs" | ||
"./checkbox": { | ||
"types": "./checkbox/index.d.ts", | ||
"esm2022": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"esm": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"default": "./fesm2022/ngx-eagle-checkbox.mjs" | ||
}, | ||
"./carousel": { | ||
"types": "./carousel/index.d.ts", | ||
"esm2022": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"esm": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"default": "./fesm2022/ngx-eagle-carousel.mjs" | ||
}, | ||
"./dialog": { | ||
@@ -101,8 +107,2 @@ "types": "./dialog/index.d.ts", | ||
}, | ||
"./checkbox": { | ||
"types": "./checkbox/index.d.ts", | ||
"esm2022": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"esm": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"default": "./fesm2022/ngx-eagle-checkbox.mjs" | ||
}, | ||
"./divider": { | ||
@@ -168,2 +168,8 @@ "types": "./divider/index.d.ts", | ||
}, | ||
"./switch": { | ||
"types": "./switch/index.d.ts", | ||
"esm2022": "./esm2022/switch/ngx-eagle-switch.mjs", | ||
"esm": "./esm2022/switch/ngx-eagle-switch.mjs", | ||
"default": "./fesm2022/ngx-eagle-switch.mjs" | ||
}, | ||
"./select": { | ||
@@ -175,8 +181,2 @@ "types": "./select/index.d.ts", | ||
}, | ||
"./switch": { | ||
"types": "./switch/index.d.ts", | ||
"esm2022": "./esm2022/switch/ngx-eagle-switch.mjs", | ||
"esm": "./esm2022/switch/ngx-eagle-switch.mjs", | ||
"default": "./fesm2022/ngx-eagle-switch.mjs" | ||
}, | ||
"./tab": { | ||
@@ -211,4 +211,10 @@ "types": "./tab/index.d.ts", | ||
"default": "./fesm2022/ngx-eagle-core-services.mjs" | ||
}, | ||
"./core/types": { | ||
"types": "./core/types/index.d.ts", | ||
"esm2022": "./esm2022/core/types/ngx-eagle-core-types.mjs", | ||
"esm": "./esm2022/core/types/ngx-eagle-core-types.mjs", | ||
"default": "./fesm2022/ngx-eagle-core-types.mjs" | ||
} | ||
} | ||
} |
import { ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { NgxMode } from './typings'; | ||
import { ColorConverter } from 'ngx-eagle/core/services'; | ||
import * as i0 from "@angular/core"; | ||
interface RGBColor { | ||
r: number; | ||
g: number; | ||
b: number; | ||
} | ||
export declare class TagComponent implements OnInit, OnChanges { | ||
private renderer; | ||
private elementRef; | ||
private colorConverter; | ||
ngxMode: NgxMode; | ||
@@ -20,3 +17,3 @@ ngxColor: string; | ||
color: string; | ||
constructor(renderer: Renderer2, elementRef: ElementRef); | ||
constructor(renderer: Renderer2, elementRef: ElementRef, colorConverter: ColorConverter); | ||
ngOnInit(): void; | ||
@@ -27,7 +24,2 @@ ngOnChanges(changes: SimpleChanges): void; | ||
closeTag(e: MouseEvent): void; | ||
getContrastingColors(color: string): { | ||
backgroundColor: string; | ||
color: string; | ||
}; | ||
changeRgbLuminance(rgb: RGBColor, luminance: number): string; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>; | ||
@@ -38,2 +30,1 @@ static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ngx-tag", never, { "ngxMode": { "alias": "ngxMode"; "required": false; }; "ngxColor": { "alias": "ngxColor"; "required": false; }; "ngxChecked": { "alias": "ngxChecked"; "required": false; }; "ngxBordered": { "alias": "ngxBordered"; "required": false; }; }, { "ngxOnClose": "ngxOnClose"; "ngxCheckedChange": "ngxCheckedChange"; }, never, ["*"], true, never>; | ||
} | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1117100
392
10030
3
61