@progress/kendo-angular-icons 1.0.0 → 2.0.0-dev.202204131725

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.
Files changed (59) hide show
  1. package/bundles/kendo-angular-icons.umd.js +5 -0
  2. package/{dist/es2015/common → common}/icon-base.d.ts +10 -5
  3. package/{dist/es2015/common → common}/models/flip.d.ts +0 -0
  4. package/{dist/es2015/common → common}/models/size.d.ts +0 -0
  5. package/{dist/es2015/common → common}/models/theme-color.d.ts +0 -0
  6. package/{dist/es2015 → esm2015}/common/icon-base.js +23 -27
  7. package/{dist/es2015 → esm2015}/common/models/flip.js +1 -0
  8. package/{dist/es → esm2015}/common/models/size.js +1 -0
  9. package/{dist/es2015 → esm2015}/common/models/theme-color.js +1 -0
  10. package/esm2015/icon/icon.component.js +48 -0
  11. package/{dist/es2015 → esm2015}/icon.module.js +14 -11
  12. package/{dist/es2015 → esm2015}/icons.module.js +17 -12
  13. package/{dist/es/index.js → esm2015/kendo-angular-icons.js} +0 -1
  14. package/{dist/es → esm2015}/main.js +0 -0
  15. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  16. package/{dist/es2015 → esm2015}/svg-icon/svg-icon.component.js +25 -24
  17. package/{dist/es2015 → esm2015}/svg-icon.module.js +14 -11
  18. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-icons.js} +113 -102
  19. package/{dist/es2015/icon → icon}/icon.component.d.ts +7 -3
  20. package/{dist/es2015/icon.module.d.ts → icon.module.d.ts} +6 -0
  21. package/{dist/es2015/icons.module.d.ts → icons.module.d.ts} +6 -0
  22. package/{dist/es2015/index.d.ts → kendo-angular-icons.d.ts} +1 -1
  23. package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
  24. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  25. package/package.json +34 -97
  26. package/schematics/ngAdd/index.js +5 -2
  27. package/schematics/ngAdd/index.js.map +1 -1
  28. package/{dist/es2015/svg-icon → svg-icon}/svg-icon.component.d.ts +9 -5
  29. package/{dist/es2015/svg-icon.module.d.ts → svg-icon.module.d.ts} +6 -0
  30. package/dist/cdn/js/kendo-angular-icons.js +0 -20
  31. package/dist/cdn/main.js +0 -5
  32. package/dist/es/common/icon-base.js +0 -126
  33. package/dist/es/common/models/flip.js +0 -4
  34. package/dist/es/common/models/theme-color.js +0 -4
  35. package/dist/es/icon/icon.component.js +0 -58
  36. package/dist/es/icon.module.js +0 -56
  37. package/dist/es/icons.module.js +0 -53
  38. package/dist/es/package-metadata.js +0 -15
  39. package/dist/es/svg-icon/svg-icon.component.js +0 -86
  40. package/dist/es/svg-icon.module.js +0 -56
  41. package/dist/es2015/common/models/size.js +0 -4
  42. package/dist/es2015/icon/icon.component.js +0 -51
  43. package/dist/es2015/index.js +0 -9
  44. package/dist/es2015/index.metadata.json +0 -1
  45. package/dist/es2015/main.js +0 -9
  46. package/dist/fesm5/index.js +0 -415
  47. package/dist/npm/common/icon-base.js +0 -128
  48. package/dist/npm/common/models/flip.js +0 -6
  49. package/dist/npm/common/models/size.js +0 -6
  50. package/dist/npm/common/models/theme-color.js +0 -6
  51. package/dist/npm/icon/icon.component.js +0 -60
  52. package/dist/npm/icon.module.js +0 -58
  53. package/dist/npm/icons.module.js +0 -55
  54. package/dist/npm/index.js +0 -13
  55. package/dist/npm/main.js +0 -16
  56. package/dist/npm/package-metadata.js +0 -17
  57. package/dist/npm/svg-icon/svg-icon.component.js +0 -88
  58. package/dist/npm/svg-icon.module.js +0 -58
  59. package/dist/systemjs/kendo-angular-icons.js +0 -5
@@ -2,11 +2,12 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { __decorate, __metadata } from 'tslib';
6
- import { HostBinding, Input, Component, ElementRef, Renderer2, isDevMode, NgModule } from '@angular/core';
5
+ import * as i0 from '@angular/core';
6
+ import { Directive, HostBinding, Input, Component, isDevMode, NgModule } from '@angular/core';
7
7
  import { validatePackage } from '@progress/kendo-licensing';
8
- import { DomSanitizer } from '@angular/platform-browser';
9
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
+ import * as i1 from '@angular/platform-browser';
10
+ import * as i2 from '@angular/common';
10
11
  import { CommonModule } from '@angular/common';
11
12
 
12
13
  /**
@@ -16,7 +17,7 @@ const packageMetadata = {
16
17
  name: '@progress/kendo-angular-icons',
17
18
  productName: 'Kendo UI for Angular',
18
19
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
19
- publishDate: 1644840904,
20
+ publishDate: 1649870711,
20
21
  version: '',
21
22
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
22
23
  };
@@ -32,7 +33,7 @@ const sizeClasses = {
32
33
  /**
33
34
  * @hidden
34
35
  */
35
- class IconBase {
36
+ class IconBaseDirective {
36
37
  constructor(element, renderer) {
37
38
  this.element = element;
38
39
  this.renderer = renderer;
@@ -97,35 +98,31 @@ class IconBase {
97
98
  return this._size;
98
99
  }
99
100
  }
100
- __decorate([
101
- HostBinding('class.k-flip-h'),
102
- __metadata("design:type", Boolean),
103
- __metadata("design:paramtypes", [])
104
- ], IconBase.prototype, "horizontalFlip", null);
105
- __decorate([
106
- HostBinding('class.k-flip-v'),
107
- __metadata("design:type", Boolean),
108
- __metadata("design:paramtypes", [])
109
- ], IconBase.prototype, "verticalFlip", null);
110
- __decorate([
111
- Input(),
112
- __metadata("design:type", String)
113
- ], IconBase.prototype, "flip", void 0);
114
- __decorate([
115
- Input(),
116
- __metadata("design:type", String),
117
- __metadata("design:paramtypes", [String])
118
- ], IconBase.prototype, "themeColor", null);
119
- __decorate([
120
- Input(),
121
- __metadata("design:type", String),
122
- __metadata("design:paramtypes", [String])
123
- ], IconBase.prototype, "size", null);
101
+ IconBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconBaseDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
102
+ IconBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IconBaseDirective, selector: "[kendoIconBase]", inputs: { flip: "flip", themeColor: "themeColor", size: "size" }, host: { properties: { "class.k-flip-h": "this.horizontalFlip", "class.k-flip-v": "this.verticalFlip" } }, ngImport: i0 });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconBaseDirective, decorators: [{
104
+ type: Directive,
105
+ args: [{
106
+ selector: '[kendoIconBase]'
107
+ }]
108
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { horizontalFlip: [{
109
+ type: HostBinding,
110
+ args: ['class.k-flip-h']
111
+ }], verticalFlip: [{
112
+ type: HostBinding,
113
+ args: ['class.k-flip-v']
114
+ }], flip: [{
115
+ type: Input
116
+ }], themeColor: [{
117
+ type: Input
118
+ }], size: [{
119
+ type: Input
120
+ }] } });
124
121
 
125
122
  /**
126
123
  * Represents the Kendo UI Icon component for Angular.
127
124
  */
128
- let IconComponent = class IconComponent extends IconBase {
125
+ class IconComponent extends IconBaseDirective {
129
126
  constructor(element, renderer) {
130
127
  super(element, renderer);
131
128
  this.element = element;
@@ -147,29 +144,27 @@ let IconComponent = class IconComponent extends IconBase {
147
144
  get name() {
148
145
  return this._name;
149
146
  }
150
- };
151
- __decorate([
152
- HostBinding('class.k-icon'),
153
- __metadata("design:type", Boolean)
154
- ], IconComponent.prototype, "hostClass", void 0);
155
- __decorate([
156
- Input(),
157
- __metadata("design:type", String),
158
- __metadata("design:paramtypes", [String])
159
- ], IconComponent.prototype, "name", null);
160
- IconComponent = __decorate([
161
- Component({
162
- exportAs: 'kendoIcon',
163
- selector: 'kendo-icon',
164
- template: ``
165
- }),
166
- __metadata("design:paramtypes", [ElementRef, Renderer2])
167
- ], IconComponent);
147
+ }
148
+ IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
149
+ IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IconComponent, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconComponent, decorators: [{
151
+ type: Component,
152
+ args: [{
153
+ exportAs: 'kendoIcon',
154
+ selector: 'kendo-icon',
155
+ template: ``
156
+ }]
157
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
158
+ type: HostBinding,
159
+ args: ['class.k-icon']
160
+ }], name: [{
161
+ type: Input
162
+ }] } });
168
163
 
169
164
  /**
170
165
  * Represents the Kendo UI SVG Icon component for Angular.
171
166
  */
172
- let SVGIconComponent = class SVGIconComponent extends IconBase {
167
+ class SVGIconComponent extends IconBaseDirective {
173
168
  constructor(domSanitizer, element, renderer) {
174
169
  super(element, renderer);
175
170
  this.domSanitizer = domSanitizer;
@@ -213,33 +208,34 @@ let SVGIconComponent = class SVGIconComponent extends IconBase {
213
208
  `);
214
209
  }
215
210
  }
216
- };
217
- __decorate([
218
- HostBinding('class.k-svg-icon'),
219
- __metadata("design:type", Boolean)
220
- ], SVGIconComponent.prototype, "hostClass", void 0);
221
- __decorate([
222
- Input(),
223
- __metadata("design:type", Object),
224
- __metadata("design:paramtypes", [Object])
225
- ], SVGIconComponent.prototype, "icon", null);
226
- SVGIconComponent = __decorate([
227
- Component({
228
- exportAs: 'kendoSVGIcon',
229
- selector: 'kendo-svg-icon',
230
- template: `
211
+ }
212
+ SVGIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SVGIconComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
213
+ SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SVGIconComponent, selector: "kendo-svg-icon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
214
+ <svg *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
215
+ [attr.viewBox]="icon.viewBox" [innerHTML]="content">
216
+ </svg>`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SVGIconComponent, decorators: [{
218
+ type: Component,
219
+ args: [{
220
+ exportAs: 'kendoSVGIcon',
221
+ selector: 'kendo-svg-icon',
222
+ template: `
231
223
  <svg *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
232
224
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
233
225
  </svg>`
234
- }),
235
- __metadata("design:paramtypes", [DomSanitizer, ElementRef, Renderer2])
236
- ], SVGIconComponent);
226
+ }]
227
+ }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
228
+ type: HostBinding,
229
+ args: ['class.k-svg-icon']
230
+ }], icon: [{
231
+ type: Input
232
+ }] } });
237
233
 
238
- const exportedModules = [
234
+ const exportedModules$1 = [
239
235
  IconComponent
240
236
  ];
241
- const declarations = [
242
- ...exportedModules
237
+ const declarations$1 = [
238
+ ...exportedModules$1
243
239
  ];
244
240
  /**
245
241
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -272,21 +268,25 @@ const declarations = [
272
268
  *
273
269
  * ```
274
270
  */
275
- let IconModule = class IconModule {
276
- };
277
- IconModule = __decorate([
278
- NgModule({
279
- declarations: [declarations],
280
- exports: [exportedModules],
281
- imports: [CommonModule]
282
- })
283
- ], IconModule);
271
+ class IconModule {
272
+ }
273
+ IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
274
+ IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent] });
275
+ IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconModule, imports: [[CommonModule]] });
276
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconModule, decorators: [{
277
+ type: NgModule,
278
+ args: [{
279
+ declarations: [declarations$1],
280
+ exports: [exportedModules$1],
281
+ imports: [CommonModule]
282
+ }]
283
+ }] });
284
284
 
285
- const exportedModules$1 = [
285
+ const exportedModules = [
286
286
  SVGIconComponent
287
287
  ];
288
- const declarations$1 = [
289
- ...exportedModules$1
288
+ const declarations = [
289
+ ...exportedModules
290
290
  ];
291
291
  /**
292
292
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -319,15 +319,19 @@ const declarations$1 = [
319
319
  *
320
320
  * ```
321
321
  */
322
- let SVGIconModule = class SVGIconModule {
323
- };
324
- SVGIconModule = __decorate([
325
- NgModule({
326
- declarations: [declarations$1],
327
- exports: [exportedModules$1],
328
- imports: [CommonModule]
329
- })
330
- ], SVGIconModule);
322
+ class SVGIconModule {
323
+ }
324
+ SVGIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SVGIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
325
+ SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SVGIconModule, declarations: [SVGIconComponent], imports: [CommonModule], exports: [SVGIconComponent] });
326
+ SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SVGIconModule, imports: [[CommonModule]] });
327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SVGIconModule, decorators: [{
328
+ type: NgModule,
329
+ args: [{
330
+ declarations: [declarations],
331
+ exports: [exportedModules],
332
+ imports: [CommonModule]
333
+ }]
334
+ }] });
331
335
 
332
336
  /**
333
337
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -360,19 +364,26 @@ SVGIconModule = __decorate([
360
364
  *
361
365
  * ```
362
366
  */
363
- let IconsModule = class IconsModule {
364
- };
365
- IconsModule = __decorate([
366
- NgModule({
367
- exports: [
368
- IconModule,
369
- SVGIconModule
370
- ]
371
- })
372
- ], IconsModule);
367
+ class IconsModule {
368
+ }
369
+ IconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
370
+ IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconsModule, exports: [IconModule,
371
+ SVGIconModule] });
372
+ IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconsModule, imports: [IconModule,
373
+ SVGIconModule] });
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IconsModule, decorators: [{
375
+ type: NgModule,
376
+ args: [{
377
+ exports: [
378
+ IconModule,
379
+ SVGIconModule
380
+ ]
381
+ }]
382
+ }] });
373
383
 
374
384
  /**
375
385
  * Generated bundle index. Do not edit.
376
386
  */
377
387
 
378
- export { IconBase, IconComponent, SVGIconComponent, IconModule, SVGIconModule, IconsModule };
388
+ export { IconComponent, IconModule, IconsModule, SVGIconComponent, SVGIconModule };
389
+
@@ -3,11 +3,12 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2 } from '@angular/core';
6
- import { IconBase } from '../common/icon-base';
6
+ import { IconBaseDirective } from '../common/icon-base';
7
+ import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Represents the Kendo UI Icon component for Angular.
9
10
  */
10
- export declare class IconComponent extends IconBase {
11
+ export declare class IconComponent extends IconBaseDirective {
11
12
  element: ElementRef;
12
13
  renderer: Renderer2;
13
14
  hostClass: boolean;
@@ -15,7 +16,10 @@ export declare class IconComponent extends IconBase {
15
16
  * Defines the name for an existing icon in a Kendo UI theme, which will be rendered.
16
17
  * All [Kendo UI Icons]({% slug icons %}#toc-list-of-font-icons) are supported.
17
18
  */
18
- name: string;
19
+ set name(name: string);
20
+ get name(): string;
19
21
  private _name;
20
22
  constructor(element: ElementRef, renderer: Renderer2);
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kendo-icon", ["kendoIcon"], { "name": "name"; }, {}, never, never>;
21
25
  }
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./icon/icon.component";
7
+ import * as i2 from "@angular/common";
5
8
  /**
6
9
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
10
  * definition for the Icon component.
@@ -34,4 +37,7 @@
34
37
  * ```
35
38
  */
36
39
  export declare class IconModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, [typeof i1.IconComponent], [typeof i2.CommonModule], [typeof i1.IconComponent]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
37
43
  }
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./icon.module";
7
+ import * as i2 from "./svg-icon.module";
5
8
  /**
6
9
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
10
  * definition for the Icons components.
@@ -34,4 +37,7 @@
34
37
  * ```
35
38
  */
36
39
  export declare class IconsModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconsModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconsModule, never, never, [typeof i1.IconModule, typeof i2.SVGIconModule]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconsModule>;
37
43
  }
@@ -5,5 +5,5 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
+ /// <amd-module name="@progress/kendo-angular-icons" />
8
9
  export * from './main';
9
- export { IconBase } from './common/icon-base';
File without changes
package/package.json CHANGED
@@ -1,90 +1,36 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-icons",
3
+ "version": "2.0.0-dev.202204131725",
3
4
  "description": "Kendo UI Angular component starter template",
4
- "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "1.0.0",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
14
- "jsdelivr": "dist/cdn/main.js",
15
- "unpkg": "dist/cdn/main.js",
16
- "sideEffects": false,
17
- "scripts": {
18
- "test": "jest",
19
- "test:watch": "jest --watch",
20
- "test:ci": "ci-angular-test",
21
- "e2e:ci": "ci-angular-e2e",
22
- "start": "gulp start",
23
- "lint": "gulp lint && gulp lint-docs",
24
- "api-check": "gulp api-check",
25
- "build-package": "gulp build-package",
26
- "semantic-release": "semantic-release pre && semantic-prerelease publish --public && semantic-release post"
6
+ "author": "Progress",
7
+ "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/telerik/kendo-angular-icons.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
27
14
  },
28
15
  "keywords": [
29
- "Kendo UI",
30
- "Angular"
16
+ "Angular",
17
+ "Kendo UI"
31
18
  ],
32
- "peerDependencies": {
33
- "@angular/common": "8 - 13",
34
- "@angular/core": "8 - 13",
35
- "@angular/platform-browser": "8 - 13",
36
- "@progress/kendo-angular-common": "^2.0.0",
37
- "@progress/kendo-licensing": "^1.0.2",
38
- "@progress/kendo-svg-icons": "^0.1.2",
39
- "rxjs": "^6.4.0 || ^7.0.0"
19
+ "@progress": {
20
+ "friendlyName": "Icon"
40
21
  },
41
22
  "dependencies": {
42
- "@progress/kendo-schematics": "^2.0.0",
43
- "tslib": "^1.9.0"
23
+ "@progress/kendo-schematics": "^3.0.0",
24
+ "tslib": "^2.3.1"
44
25
  },
45
- "devDependencies": {
46
- "@angular-devkit/core": "^8.2.0",
47
- "@angular-devkit/schematics": "^8.2.0",
48
- "@angular/animations": "^8.2.0",
49
- "@angular/common": "^8.2.0",
50
- "@angular/compiler": "^8.2.0",
51
- "@angular/compiler-cli": "^8.2.0",
52
- "@angular/core": "^8.2.0",
53
- "@angular/forms": "^8.2.0",
54
- "@angular/platform-browser": "^8.2.0",
55
- "@angular/platform-browser-dynamic": "^8.2.0",
56
- "@angular/platform-server": "^8.2.0",
57
- "@angular/router": "^8.2.0",
58
- "@progress/kendo-angular-buttons": "^6.0.0",
59
- "@progress/kendo-angular-popup": "^4.0.0",
60
- "@progress/kendo-angular-l10n": "^3.0.0",
61
- "@progress/kendo-angular-common": "^2.0.0",
62
- "@progress/kendo-angular-e2e": "^2.2.0",
63
- "@progress/kendo-angular-jest-preset": "^2.0.0",
64
- "@progress/kendo-angular-tasks": "^18.0.3",
26
+ "peerDependencies": {
27
+ "@angular/common": "^12.0.0 || ^13.0.0",
28
+ "@angular/core": "^12.0.0 || ^13.0.0",
29
+ "@angular/platform-browser": "^12.0.0 || ^13.0.0",
30
+ "@progress/kendo-angular-common": ">3.0.0-next",
65
31
  "@progress/kendo-licensing": "^1.0.2",
66
- "@progress/kendo-svg-icons": "0.1.2",
67
- "@progress/kendo-theme-bootstrap": "^5.0.0",
68
- "@progress/kendo-theme-default": "^5.0.0",
69
- "@progress/kendo-theme-material": "^5.0.0",
70
- "@telerik/semantic-prerelease": "^1.0.0",
71
- "@types/jest": "^21.1.8",
72
- "@types/node": "ts3.4",
73
- "@types/zone.js": "0.0.27",
74
- "codelyzer": "^5.0.0",
75
- "core-js": "^2.2.2",
76
- "cz-conventional-changelog": "^1.1.5",
77
- "ghooks": "^1.0.3",
78
- "gulp": "^4.0.0",
79
- "jest-cli": "^21.2.1",
80
- "jest-junit": "^8.0.0",
81
- "rxjs": "~6.4.0",
82
- "rxjs-tslint-rules": "^4.23.1",
83
- "semantic-release": "^6.3.6",
84
- "tslint": "^5.20.1",
85
- "typescript": "~3.4.5",
86
- "validate-commit-msg": "^1.1.1",
87
- "zone.js": "~0.9.1"
32
+ "@progress/kendo-svg-icons": "^0.1.2",
33
+ "rxjs": "^6.5.3 || ^7.0.0"
88
34
  },
89
35
  "config": {
90
36
  "commitizen": {
@@ -109,27 +55,16 @@
109
55
  "maxSubjectLength": 100
110
56
  }
111
57
  },
112
- "jest": {
113
- "preset": "@progress/kendo-angular-jest-preset"
114
- },
115
- "repository": {
116
- "type": "git",
117
- "url": "https://github.com/telerik/kendo-angular-icons.git"
118
- },
119
- "bugs": {
120
- "url": "https://github.com/telerik/kendo-angular"
121
- },
122
- "@progress": {
123
- "friendlyName": "Icon"
124
- },
125
- "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
58
+ "schematics": "./schematics/collection.json",
126
59
  "release": {
127
60
  "debug": false,
128
61
  "branchTags": {
129
- "develop": "dev"
62
+ "develop": "dev",
63
+ "ng12-update": "next"
130
64
  },
131
65
  "fallbackTags": {
132
- "dev": "latest"
66
+ "dev": "latest",
67
+ "next": "latest"
133
68
  },
134
69
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
135
70
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
@@ -137,9 +72,11 @@
137
72
  "verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
138
73
  "verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
139
74
  },
140
- "schematics": "./schematics/collection.json",
141
- "files": [
142
- "dist",
143
- "schematics"
144
- ]
75
+ "main": "bundles/kendo-angular-icons.umd.js",
76
+ "module": "fesm2015/kendo-angular-icons.js",
77
+ "es2015": "fesm2015/kendo-angular-icons.js",
78
+ "esm2015": "esm2015/kendo-angular-icons.js",
79
+ "fesm2015": "fesm2015/kendo-angular-icons.js",
80
+ "typings": "kendo-angular-icons.d.ts",
81
+ "sideEffects": false
145
82
  }
@@ -1,9 +1,12 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  "use strict";
2
6
  Object.defineProperty(exports, "__esModule", { value: true });
3
7
  const schematics_1 = require("@angular-devkit/schematics");
4
8
  function default_1(options) {
5
- const finalOptions = Object.assign({}, options, { mainNgModule: 'IconsModule', package: 'icons' });
9
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'IconsModule', package: 'icons' });
6
10
  return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
7
11
  }
8
12
  exports.default = default_1;
9
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,qBACX,OAAO,IACV,YAAY,EAAE,aAAa,EAC3B,OAAO,EAAE,OAAO,GACnB,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,aAAa,EAC3B,OAAO,EAAE,OAAO,GACnB,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
@@ -4,12 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2, OnInit } from '@angular/core';
6
6
  import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
7
- import { IconBase } from '../common/icon-base';
7
+ import { IconBaseDirective } from '../common/icon-base';
8
8
  import { SVGIcon } from '@progress/kendo-svg-icons';
9
+ import * as i0 from "@angular/core";
9
10
  /**
10
11
  * Represents the Kendo UI SVG Icon component for Angular.
11
12
  */
12
- export declare class SVGIconComponent extends IconBase implements OnInit {
13
+ export declare class SVGIconComponent extends IconBaseDirective implements OnInit {
13
14
  private domSanitizer;
14
15
  element: ElementRef;
15
16
  renderer: Renderer2;
@@ -17,12 +18,15 @@ export declare class SVGIconComponent extends IconBase implements OnInit {
17
18
  /**
18
19
  * Defines the SVG icon, which will be rendered.
19
20
  */
20
- icon: SVGIcon;
21
- readonly content: SafeHtml;
22
- readonly visible: boolean;
21
+ set icon(icon: SVGIcon);
22
+ get icon(): SVGIcon;
23
+ get content(): SafeHtml;
24
+ get visible(): boolean;
23
25
  private safeContent;
24
26
  private _icon;
25
27
  constructor(domSanitizer: DomSanitizer, element: ElementRef, renderer: Renderer2);
26
28
  ngOnInit(): void;
27
29
  private verifyIconProperty;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<SVGIconComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<SVGIconComponent, "kendo-svg-icon", ["kendoSVGIcon"], { "icon": "icon"; }, {}, never, never>;
28
32
  }
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./svg-icon/svg-icon.component";
7
+ import * as i2 from "@angular/common";
5
8
  /**
6
9
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
10
  * definition for the SVG Icon component.
@@ -34,4 +37,7 @@
34
37
  * ```
35
38
  */
36
39
  export declare class SVGIconModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<SVGIconModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SVGIconModule, [typeof i1.SVGIconComponent], [typeof i2.CommonModule], [typeof i1.SVGIconComponent]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<SVGIconModule>;
37
43
  }