angular-svg-icon
Advanced tools
Comparing version 12.0.0 to 13.0.0
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="angular-svg-icon" /> | ||
export * from './public-api'; |
import { ModuleWithProviders, Provider } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./svg-icon.component"; | ||
import * as i2 from "@angular/common"; | ||
export interface AngularSvgIconConfig { | ||
@@ -7,2 +10,5 @@ loader?: Provider; | ||
static forRoot(config?: AngularSvgIconConfig): ModuleWithProviders<AngularSvgIconModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<AngularSvgIconModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularSvgIconModule, [typeof i1.SvgIconComponent], [typeof i2.CommonModule], [typeof i1.SvgIconComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<AngularSvgIconModule>; | ||
} |
import { InjectionToken, Optional } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
import { SvgLoader } from './svg-loader'; | ||
import * as i0 from "@angular/core"; | ||
export declare const SERVER_URL: InjectionToken<string>; | ||
@@ -22,2 +23,4 @@ export declare class SvgIconRegistryService { | ||
unloadSvg(url: string): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconRegistryService, [null, null, { optional: true; }, { optional: true; }]>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<SvgIconRegistryService>; | ||
} | ||
@@ -24,0 +27,0 @@ export declare function SVG_ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry: SvgIconRegistryService, loader: SvgLoader, platformId: object, serverUrl?: string, document?: any): SvgIconRegistryService; |
import { ChangeDetectorRef, DoCheck, ElementRef, KeyValueDiffers, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { SvgIconRegistryService } from './svg-icon-registry.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class SvgIconComponent implements OnInit, OnDestroy, OnChanges, DoCheck { | ||
@@ -41,2 +42,4 @@ private element; | ||
private doAria; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SvgIconComponent, "svg-icon", never, { "src": "src"; "name": "name"; "stretch": "stretch"; "applyClass": "applyClass"; "applyCss": "applyCss"; "svgClass": "svgClass"; "klass": "class"; "viewBox": "viewBox"; "svgAriaLabel": "svgAriaLabel"; "svgStyle": "svgStyle"; }, {}, never, ["*"]>; | ||
} |
import { Observable } from 'rxjs'; | ||
import { HttpClient } from '@angular/common/http'; | ||
import * as i0 from "@angular/core"; | ||
export declare abstract class SvgLoader { | ||
@@ -10,2 +11,4 @@ abstract getSvg(url: string): Observable<string>; | ||
getSvg(url: string): Observable<string>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SvgHttpLoader, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<SvgHttpLoader>; | ||
} |
{ | ||
"name": "angular-svg-icon", | ||
"description": "Angular 12 component for inlining SVGs allowing them to be easily styled with CSS.", | ||
"version": "12.0.0", | ||
"description": "Angular 13 component for inlining SVGs allowing them to be easily styled with CSS.", | ||
"version": "13.0.0", | ||
"repository": { | ||
@@ -17,17 +17,29 @@ "type": "git", | ||
"peerDependencies": { | ||
"@angular/core": ">=12.0.0", | ||
"@angular/common": ">=12.0.0", | ||
"rxjs": ">=6.6.0" | ||
"@angular/core": ">=13.0.0", | ||
"@angular/common": ">=13.0.0", | ||
"rxjs": ">=6.6.3" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.2.0" | ||
"tslib": "^2.3.1" | ||
}, | ||
"main": "bundles/angular-svg-icon.umd.js", | ||
"module": "fesm2015/angular-svg-icon.js", | ||
"es2015": "fesm2015/angular-svg-icon.js", | ||
"esm2015": "esm2015/angular-svg-icon.js", | ||
"fesm2015": "fesm2015/angular-svg-icon.js", | ||
"module": "fesm2015/angular-svg-icon.mjs", | ||
"es2020": "fesm2020/angular-svg-icon.mjs", | ||
"esm2020": "esm2020/angular-svg-icon.mjs", | ||
"fesm2020": "fesm2020/angular-svg-icon.mjs", | ||
"fesm2015": "fesm2015/angular-svg-icon.mjs", | ||
"typings": "angular-svg-icon.d.ts", | ||
"metadata": "angular-svg-icon.metadata.json", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./angular-svg-icon.d.ts", | ||
"esm2020": "./esm2020/angular-svg-icon.mjs", | ||
"es2020": "./fesm2020/angular-svg-icon.mjs", | ||
"es2015": "./fesm2015/angular-svg-icon.mjs", | ||
"node": "./fesm2015/angular-svg-icon.mjs", | ||
"default": "./fesm2020/angular-svg-icon.mjs" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
@@ -6,3 +6,3 @@ [![npm version](https://badge.fury.io/js/angular-svg-icon.svg)](https://badge.fury.io/js/angular-svg-icon) | ||
The **angular-svg-icon** is an Angular 12 service and component that provides a | ||
The **angular-svg-icon** is an Angular 13 service and component that provides a | ||
means to inline SVG files to allow for them to be easily styled by CSS and code. | ||
@@ -23,2 +23,3 @@ | ||
**Note on earlier versions of Angular:** | ||
- For Angular 12, use angular-svg-icon@12.0.0 | ||
- For Angular 11, use angular-svg-icon@11.2.0 | ||
@@ -25,0 +26,0 @@ - For Angular 10, use angular-svg-icon@10.0.0 |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
288
164890
19
1390
1
Updatedtslib@^2.3.1