@coreui/icons-angular
Advanced tools
Comparing version 4.7.18 to 4.7.19
@@ -1,22 +0,19 @@ | ||
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core'; | ||
import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; | ||
import { IconSetService } from '../icon-set'; | ||
import { AfterViewInit, ElementRef } from '@angular/core'; | ||
import { IconSize, IIcon } from './icon.interface'; | ||
import * as i0 from "@angular/core"; | ||
export declare class IconComponent implements IIcon, AfterViewInit { | ||
private renderer; | ||
private elementRef; | ||
private sanitizer; | ||
private iconSet; | ||
#private; | ||
constructor(); | ||
set content(value: string | string[] | any[]); | ||
attributes: any; | ||
content?: string | string[] | any[]; | ||
customClasses?: string | string[] | Set<string> | { | ||
[klass: string]: any; | ||
}; | ||
size: IconSize; | ||
title?: string; | ||
use: string; | ||
customClasses?: string | string[] | Set<string> | { | ||
[klass: string]: any; | ||
}; | ||
height?: string; | ||
width?: string; | ||
height?: string; | ||
name: string; | ||
set name(value: string); | ||
get name(): string; | ||
set viewBox(viewBox: string); | ||
@@ -26,8 +23,7 @@ get viewBox(): string; | ||
svgElementRef: ElementRef; | ||
get innerHtml(): SafeHtml; | ||
constructor(renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer, iconSet: IconSetService); | ||
ngAfterViewInit(): void; | ||
readonly innerHtml: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>; | ||
get titleCode(): string; | ||
get code(): string | string[] | undefined; | ||
get scale(): string; | ||
readonly code: import("@angular/core").Signal<string | any[]>; | ||
readonly scale: import("@angular/core").Signal<string>; | ||
get computedSize(): Exclude<IconSize, 'custom'> | undefined; | ||
@@ -37,6 +33,5 @@ get computedClasses(): string | string[] | Set<string> | { | ||
}; | ||
toCamelCase(str: string): string; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "c-icon", never, { "attributes": { "alias": "attributes"; "required": false; }; "content": { "alias": "content"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "use": { "alias": "use"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "name": { "alias": "name"; "required": false; }; "viewBox": { "alias": "viewBox"; "required": false; }; }, {}, never, never, true, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "c-icon", ["cIconComponent"], { "content": { "alias": "content"; "required": false; }; "attributes": { "alias": "attributes"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "use": { "alias": "use"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "name": { "alias": "name"; "required": false; }; "viewBox": { "alias": "viewBox"; "required": false; }; }, {}, never, never, true, never>; | ||
static ngAcceptInputType_name: string; | ||
} |
@@ -1,23 +0,20 @@ | ||
import { ElementRef, Renderer2 } from '@angular/core'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
import { IconSetService } from '../icon-set'; | ||
import { IconSize, IIcon } from './icon.interface'; | ||
import * as i0 from "@angular/core"; | ||
export declare class IconDirective implements IIcon { | ||
private renderer; | ||
private elementRef; | ||
private sanitizer; | ||
private iconSet; | ||
content?: string | string[] | any[]; | ||
size: IconSize; | ||
title?: string; | ||
#private; | ||
constructor(); | ||
set content(value: string | string[] | any[]); | ||
customClasses?: string | string[] | Set<string> | { | ||
[klass: string]: any; | ||
}; | ||
size: IconSize; | ||
title?: string; | ||
height?: string; | ||
width?: string; | ||
height?: string; | ||
name: string; | ||
set name(value: string); | ||
get name(): string; | ||
set viewBox(viewBox: string); | ||
get viewBox(): string; | ||
private _viewBox; | ||
ariaHidden: boolean; | ||
xmlns: string; | ||
@@ -29,7 +26,7 @@ pointerEvents: string; | ||
}; | ||
get innerHtml(): import("@angular/platform-browser").SafeHtml; | ||
constructor(renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer, iconSet: IconSetService); | ||
get bindInnerHtml(): import("@angular/platform-browser").SafeHtml; | ||
readonly innerHtml: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>; | ||
get titleCode(): string; | ||
get code(): string | string[] | undefined; | ||
get scale(): string; | ||
readonly code: import("@angular/core").Signal<string | any[]>; | ||
readonly scale: import("@angular/core").Signal<string>; | ||
get computedSize(): Exclude<IconSize, 'custom'> | undefined; | ||
@@ -39,6 +36,5 @@ get computedClasses(): string | string[] | Set<string> | { | ||
}; | ||
toCamelCase(str: string): string; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "svg[cIcon]", ["cIcon"], { "content": { "alias": "cIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "name": { "alias": "name"; "required": false; }; "viewBox": { "alias": "viewBox"; "required": false; }; "xmlns": { "alias": "xmlns"; "required": false; }; "pointerEvents": { "alias": "pointer-events"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "svg[cIcon]", ["cIcon"], { "content": { "alias": "cIcon"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "name": { "alias": "name"; "required": false; }; "viewBox": { "alias": "viewBox"; "required": false; }; "xmlns": { "alias": "xmlns"; "required": false; }; "pointerEvents": { "alias": "pointer-events"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>; | ||
static ngAcceptInputType_name: string; | ||
} |
@@ -1,1 +0,2 @@ | ||
export declare function toCamelCase(str: string): string; | ||
export declare function toCamelCase(value: string): string; | ||
export declare function transformName(value: string): string; |
{ | ||
"name": "@coreui/icons-angular", | ||
"version": "4.7.18", | ||
"version": "4.7.19", | ||
"description": "CoreUI Icons Angular component and service", | ||
"copyright": "Copyright 2023 creativeLabs Łukasz Holeczek", | ||
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek", | ||
"license": "MIT", | ||
@@ -30,4 +30,3 @@ "homepage": "https://coreui.io/angular", | ||
"@angular/core": "^17.3.0", | ||
"@angular/platform-browser": "^17.3.0", | ||
"@coreui/icons": "^2.1.0 || ^3.0.0" | ||
"@angular/platform-browser": "^17.3.0" | ||
}, | ||
@@ -34,0 +33,0 @@ "dependencies": { |
@@ -59,4 +59,4 @@ <p align="center"> | ||
```shell | ||
npm install @coreui/icons | ||
npm install @coreui/icons-angular | ||
npm install @coreui/icons@3 | ||
npm install @coreui/icons-angular@4 | ||
``` | ||
@@ -173,3 +173,3 @@ | ||
Copyright 2023 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/). | ||
Copyright 2024 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/). | ||
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
123953
4
1022