@progress/kendo-angular-icons 18.0.0-develop.8 → 18.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.
@@ -9,13 +9,31 @@ import { IconSettingsService } from './icon-settings.service';
9
9
  import { SVGIcon } from '@progress/kendo-svg-icons';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * @hidden
12
+ * The service responsible for handling changes in the icons settings. Should be included in the providers array when implementing the functionality in a standalone component.
13
+ *
14
+ * @example
15
+ *
16
+ * ```ts-no-run
17
+ * // Import the IconsService
18
+ * import { IconsService } from '@progress/kendo-angular-icons';
19
+ *
20
+ * // Define a standalone component
21
+ * @Component({
22
+ * selector: my-component,
23
+ * standalone: true,
24
+ * imports: [ ... ],
25
+ * providers: [IconsService, { provide: ICON_SETTINGS , useValue: { type: 'font' } }],
26
+ * template: ...
27
+ * })
28
+ * export class AppComponent {}
29
+ * ```
13
30
  */
14
31
  export declare class IconsService implements OnDestroy {
15
32
  private _iconSettings;
16
33
  private iconSettingsService;
17
34
  /**
18
35
  * Notifies subscribers of the initial icon settings, and upon each call to `notify`.
36
+ * @hidden
19
37
  */
20
38
  readonly changes: Subject<IconSettings>;
21
39
  private subs;
@@ -28,11 +46,13 @@ export declare class IconsService implements OnDestroy {
28
46
  /**
29
47
  * Returns the [`SVGIcon`](slug:api_icons_svgicon) object for the provided key.
30
48
  * Override in a custom service to provide custom SVG icons.
49
+ * @hidden
31
50
  */
32
51
  getSvgIcon(name: string): SVGIcon;
33
52
  /**
34
53
  * Returns the list of classes to be rendered on the host `SPAN` element of custom font icons.
35
54
  * Override in a custom service to provide classes for custom font icons.
55
+ * @hidden
36
56
  */
37
57
  getCustomFontIconClass(key: string): string;
38
58
  static ɵfac: i0.ɵɵFactoryDeclaration<IconsService, [{ optional: true; }, { optional: true; }]>;
@@ -13,13 +13,31 @@ import * as i0 from "@angular/core";
13
13
  import * as i1 from "./icon-settings.service";
14
14
  const DEFAULT_ICON_SETTINGS = { type: 'svg' };
15
15
  /**
16
- * @hidden
16
+ * The service responsible for handling changes in the icons settings. Should be included in the providers array when implementing the functionality in a standalone component.
17
+ *
18
+ * @example
19
+ *
20
+ * ```ts-no-run
21
+ * // Import the IconsService
22
+ * import { IconsService } from '@progress/kendo-angular-icons';
23
+ *
24
+ * // Define a standalone component
25
+ * @Component({
26
+ * selector: my-component,
27
+ * standalone: true,
28
+ * imports: [ ... ],
29
+ * providers: [IconsService, { provide: ICON_SETTINGS , useValue: { type: 'font' } }],
30
+ * template: ...
31
+ * })
32
+ * export class AppComponent {}
33
+ * ```
17
34
  */
18
35
  export class IconsService {
19
36
  _iconSettings;
20
37
  iconSettingsService;
21
38
  /**
22
39
  * Notifies subscribers of the initial icon settings, and upon each call to `notify`.
40
+ * @hidden
23
41
  */
24
42
  changes = new BehaviorSubject(this.iconSettings || DEFAULT_ICON_SETTINGS);
25
43
  subs = new Subscription();
@@ -47,6 +65,7 @@ export class IconsService {
47
65
  /**
48
66
  * Returns the [`SVGIcon`](slug:api_icons_svgicon) object for the provided key.
49
67
  * Override in a custom service to provide custom SVG icons.
68
+ * @hidden
50
69
  */
51
70
  getSvgIcon(name) {
52
71
  const customIcon = this.iconSettingsService && this.iconSettingsService.getSvgIcon(name);
@@ -55,6 +74,7 @@ export class IconsService {
55
74
  /**
56
75
  * Returns the list of classes to be rendered on the host `SPAN` element of custom font icons.
57
76
  * Override in a custom service to provide classes for custom font icons.
77
+ * @hidden
58
78
  */
59
79
  getCustomFontIconClass(key) {
60
80
  const customClass = this.iconSettingsService && this.iconSettingsService.getCustomFontIconClass(key);
@@ -8,8 +8,9 @@
8
8
  export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-icons',
10
10
  productName: 'Kendo UI for Angular',
11
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1736758347,
13
- version: '18.0.0-develop.8',
11
+ productCode: 'KENDOUIANGULAR',
12
+ productCodes: ['KENDOUIANGULAR'],
13
+ publishDate: 1737464802,
14
+ version: '18.0.0',
14
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
16
  };
@@ -17,9 +17,10 @@ import { map, tap } from 'rxjs/operators';
17
17
  const packageMetadata = {
18
18
  name: '@progress/kendo-angular-icons',
19
19
  productName: 'Kendo UI for Angular',
20
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
21
- publishDate: 1736758347,
22
- version: '18.0.0-develop.8',
20
+ productCode: 'KENDOUIANGULAR',
21
+ productCodes: ['KENDOUIANGULAR'],
22
+ publishDate: 1737464802,
23
+ version: '18.0.0',
23
24
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
24
25
  };
25
26
 
@@ -348,13 +349,31 @@ const ICON_SETTINGS = new InjectionToken('Kendo UI Icon-Settings token');
348
349
 
349
350
  const DEFAULT_ICON_SETTINGS = { type: 'svg' };
350
351
  /**
351
- * @hidden
352
+ * The service responsible for handling changes in the icons settings. Should be included in the providers array when implementing the functionality in a standalone component.
353
+ *
354
+ * @example
355
+ *
356
+ * ```ts-no-run
357
+ * // Import the IconsService
358
+ * import { IconsService } from '@progress/kendo-angular-icons';
359
+ *
360
+ * // Define a standalone component
361
+ * @Component({
362
+ * selector: my-component,
363
+ * standalone: true,
364
+ * imports: [ ... ],
365
+ * providers: [IconsService, { provide: ICON_SETTINGS , useValue: { type: 'font' } }],
366
+ * template: ...
367
+ * })
368
+ * export class AppComponent {}
369
+ * ```
352
370
  */
353
371
  class IconsService {
354
372
  _iconSettings;
355
373
  iconSettingsService;
356
374
  /**
357
375
  * Notifies subscribers of the initial icon settings, and upon each call to `notify`.
376
+ * @hidden
358
377
  */
359
378
  changes = new BehaviorSubject(this.iconSettings || DEFAULT_ICON_SETTINGS);
360
379
  subs = new Subscription();
@@ -382,6 +401,7 @@ class IconsService {
382
401
  /**
383
402
  * Returns the [`SVGIcon`](slug:api_icons_svgicon) object for the provided key.
384
403
  * Override in a custom service to provide custom SVG icons.
404
+ * @hidden
385
405
  */
386
406
  getSvgIcon(name) {
387
407
  const customIcon = this.iconSettingsService && this.iconSettingsService.getSvgIcon(name);
@@ -390,6 +410,7 @@ class IconsService {
390
410
  /**
391
411
  * Returns the list of classes to be rendered on the host `SPAN` element of custom font icons.
392
412
  * Override in a custom service to provide classes for custom font icons.
413
+ * @hidden
393
414
  */
394
415
  getCustomFontIconClass(key) {
395
416
  const customClass = this.iconSettingsService && this.iconSettingsService.getCustomFontIconClass(key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-icons",
3
- "version": "18.0.0-develop.8",
3
+ "version": "18.0.0",
4
4
  "description": "Kendo UI Angular component starter template",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -13,7 +13,13 @@
13
13
  "Kendo UI"
14
14
  ],
15
15
  "@progress": {
16
- "friendlyName": "Icon"
16
+ "friendlyName": "Icon",
17
+ "package": {
18
+ "productName": "Kendo UI for Angular",
19
+ "productCode": "KENDOUIANGULAR",
20
+ "publishDate": 1737464802,
21
+ "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
+ }
17
23
  },
18
24
  "peerDependencies": {
19
25
  "@angular/animations": "16 - 19",
@@ -22,12 +28,12 @@
22
28
  "@angular/platform-browser": "16 - 19",
23
29
  "@progress/kendo-licensing": "^1.0.2",
24
30
  "@progress/kendo-svg-icons": "^4.0.0",
25
- "@progress/kendo-angular-common": "18.0.0-develop.8",
31
+ "@progress/kendo-angular-common": "18.0.0",
26
32
  "rxjs": "^6.5.3 || ^7.0.0"
27
33
  },
28
34
  "dependencies": {
29
35
  "tslib": "^2.3.1",
30
- "@progress/kendo-angular-schematics": "18.0.0-develop.8"
36
+ "@progress/kendo-angular-schematics": "18.0.0"
31
37
  },
32
38
  "schematics": "./schematics/collection.json",
33
39
  "module": "fesm2022/progress-kendo-angular-icons.mjs",