@coreui/icons-angular 5.0.1 → 5.0.3

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,40 +1,35 @@
1
- import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import { IconSetService } from '../icon-set';
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
4
2
  import { IconSize, IIcon } from './icon.interface';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class IconComponent implements IIcon, AfterViewInit {
7
- private renderer;
8
- private elementRef;
9
- private sanitizer;
10
- private iconSet;
5
+ #private;
6
+ constructor();
7
+ set content(value: string | string[] | any[]);
11
8
  attributes: any;
12
- content?: string | string[] | any[];
13
- size: IconSize;
14
- title?: string;
15
- use: string;
16
9
  customClasses?: string | string[] | Set<string> | {
17
10
  [klass: string]: any;
18
11
  };
19
- width?: string;
12
+ size: IconSize;
13
+ title?: string;
14
+ use: string;
20
15
  height?: string;
21
- name: string;
16
+ width?: string;
17
+ set name(value: string);
18
+ get name(): string;
22
19
  set viewBox(viewBox: string);
23
20
  get viewBox(): string;
24
21
  private _viewBox;
25
22
  svgElementRef: ElementRef;
26
- get innerHtml(): SafeHtml;
27
- constructor(renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer, iconSet: IconSetService);
28
23
  ngAfterViewInit(): void;
24
+ readonly innerHtml: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>;
29
25
  get titleCode(): string;
30
- get code(): string | string[] | undefined;
31
- get scale(): string;
26
+ readonly code: import("@angular/core").Signal<string | any[]>;
27
+ readonly scale: import("@angular/core").Signal<string>;
32
28
  get computedSize(): Exclude<IconSize, 'custom'> | undefined;
33
29
  get computedClasses(): string | string[] | Set<string> | {
34
30
  [klass: string]: any;
35
31
  };
36
- toCamelCase(str: string): string;
37
32
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
38
- 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>;
33
+ 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>;
39
34
  static ngAcceptInputType_name: string;
40
35
  }
@@ -1,22 +1,18 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { IconSetService } from '../icon-set';
4
1
  import { IconSize, IIcon } from './icon.interface';
5
2
  import * as i0 from "@angular/core";
6
3
  export declare class IconDirective implements IIcon {
7
- private renderer;
8
- private elementRef;
9
- private sanitizer;
10
- private iconSet;
11
- content?: string | string[] | any[];
12
- size: IconSize;
13
- title?: string;
4
+ #private;
5
+ constructor();
6
+ set content(value: string | string[] | any[]);
14
7
  customClasses?: string | string[] | Set<string> | {
15
8
  [klass: string]: any;
16
9
  };
17
- width?: string;
10
+ size: IconSize;
11
+ title?: string;
18
12
  height?: string;
19
- name: string;
13
+ width?: string;
14
+ set name(value: string);
15
+ get name(): string;
20
16
  set viewBox(viewBox: string);
21
17
  get viewBox(): string;
22
18
  private _viewBox;
@@ -27,17 +23,16 @@ export declare class IconDirective implements IIcon {
27
23
  get hostClasses(): string | string[] | Set<string> | {
28
24
  [klass: string]: any;
29
25
  };
30
- get innerHtml(): import("@angular/platform-browser").SafeHtml;
31
- constructor(renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer, iconSet: IconSetService);
26
+ get bindInnerHtml(): import("@angular/platform-browser").SafeHtml;
27
+ readonly innerHtml: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>;
32
28
  get titleCode(): string;
33
- get code(): string | string[] | undefined;
34
- get scale(): string;
29
+ readonly code: import("@angular/core").Signal<string | any[]>;
30
+ readonly scale: import("@angular/core").Signal<string>;
35
31
  get computedSize(): Exclude<IconSize, 'custom'> | undefined;
36
32
  get computedClasses(): string | string[] | Set<string> | {
37
33
  [klass: string]: any;
38
34
  };
39
- toCamelCase(str: string): string;
40
35
  static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>;
41
- 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>;
36
+ 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>;
42
37
  static ngAcceptInputType_name: string;
43
38
  }
@@ -1 +1,2 @@
1
- export declare function toCamelCase(str: string): string;
1
+ export declare function toCamelCase(value: string): string;
2
+ export declare function transformName(value: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/icons-angular",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "description": "CoreUI Icons Angular component and service",
5
5
  "copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
6
6
  "license": "MIT",