@ng-icons/core 15.0.0 → 17.0.0

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,5 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import { IconName } from './icon-name';
3
4
  import { IconService } from './icon.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class IconComponent {
@@ -7,7 +8,7 @@ export declare class IconComponent {
7
8
  private readonly sanitizer;
8
9
  private readonly iconService;
9
10
  /** Define the name of the icon to display */
10
- set name(name: string);
11
+ set name(name: IconName | string);
11
12
  /** Store the formatted icon name */
12
13
  template?: SafeHtml;
13
14
  /** Define the size of the icon */
@@ -20,5 +21,5 @@ export declare class IconComponent {
20
21
  color?: string;
21
22
  constructor(elementRef: ElementRef<HTMLElement>, sanitizer: DomSanitizer, iconService: IconService);
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ng-icon", never, { "name": "name"; "size": "size"; "strokeWidth": "strokeWidth"; "color": "color"; }, {}, never, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ng-icon", never, { "name": "name"; "size": "size"; "strokeWidth": "strokeWidth"; "color": "color"; }, {}, never, never, false>;
24
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-icons/core",
3
- "version": "15.0.0",
3
+ "version": "17.0.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "angular",
@@ -12,8 +12,8 @@
12
12
  },
13
13
  "homepage": "https://ng-icons.github.io/ng-icons/",
14
14
  "peerDependencies": {
15
- "@angular/common": ">=12.0.0 <14.0.0",
16
- "@angular/core": ">=12.0.0 <14.0.0"
15
+ "@angular/common": ">=13.0.0 <15.0.0",
16
+ "@angular/core": ">=13.0.0 <15.0.0"
17
17
  },
18
18
  "dependencies": {
19
19
  "tslib": "^2.2.0"
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ng-icons/core" />
5
- export * from './index';