@ng-icons/core 16.0.0 → 18.0.1

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.
@@ -21,5 +21,5 @@ export declare class IconComponent {
21
21
  color?: string;
22
22
  constructor(elementRef: ElementRef<HTMLElement>, sanitizer: DomSanitizer, iconService: IconService);
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
24
- 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, true>;
25
25
  }
@@ -1,4 +1,5 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { IconComponent } from './icon.component';
2
3
  import { IconService } from './icon.service';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "./icon.component";
@@ -12,6 +13,10 @@ export declare class NgIconsModule {
12
13
  */
13
14
  static withIcons(icons: Record<string, string>): ModuleWithProviders<NgIconsModule>;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NgIconsModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgIconsModule, [typeof i1.IconComponent], never, [typeof i1.IconComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgIconsModule, never, [typeof i1.IconComponent], [typeof i1.IconComponent]>;
16
17
  static ɵinj: i0.ɵɵInjectorDeclaration<NgIconsModule>;
17
18
  }
19
+ /**
20
+ * Exporting component array for support with standalone components
21
+ */
22
+ export declare const NG_ICON_DIRECTIVES: typeof IconComponent;
@@ -0,0 +1,2 @@
1
+ import { Provider } from '@angular/core';
2
+ export declare function provideIcons(icons: Record<string, string>): Provider[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-icons/core",
3
- "version": "16.0.0",
3
+ "version": "18.0.1",
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": ">=14.0.0",
16
+ "@angular/core": ">=14.0.0"
17
17
  },
18
18
  "dependencies": {
19
19
  "tslib": "^2.2.0"
@@ -23,13 +23,13 @@
23
23
  "esm2020": "esm2020/ng-icons-core.mjs",
24
24
  "fesm2020": "fesm2020/ng-icons-core.mjs",
25
25
  "fesm2015": "fesm2015/ng-icons-core.mjs",
26
- "typings": "ng-icons-core.d.ts",
26
+ "typings": "index.d.ts",
27
27
  "exports": {
28
28
  "./package.json": {
29
29
  "default": "./package.json"
30
30
  },
31
31
  ".": {
32
- "types": "./ng-icons-core.d.ts",
32
+ "types": "./index.d.ts",
33
33
  "esm2020": "./esm2020/ng-icons-core.mjs",
34
34
  "es2020": "./fesm2020/ng-icons-core.mjs",
35
35
  "es2015": "./fesm2015/ng-icons-core.mjs",
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ng-icons/core" />
5
- export * from './index';