@progress/kendo-angular-typography 2.0.1-dev.202210121055 → 2.0.2-dev.202211170815

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.
@@ -2,4 +2,4 @@
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
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define("KendoAngularTypography",["exports","@angular/core","@progress/kendo-licensing"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularTypography={},e.ng.core,e.KendoLicensing)}(this,function(e,t,n){"use strict";function r(r){var n;return r&&r.__esModule?r:(n=Object.create(null),r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n))}function o(e){return null!=e}var s=r(t),i={xs:"k-fs-xs",sm:"k-fs-sm",md:"k-fs-md",lg:"k-fs-lg",xl:"k-fs-xl"},a={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},p={xs:"k-m-xs",sm:"k-m-sm",md:"k-m-md",lg:"k-m-lg",xl:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},l={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},g={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},h={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},c={p:"k-paragraph",h1:"k-h1",h2:"k-h2",h3:"k-h3",h4:"k-h4",h5:"k-h5",h6:"k-h6",code:"k-code",pre:"k-pre"},u={name:"@progress/kendo-angular-typography",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1665572118,version:"",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"},m=(f.prototype.ngOnChanges=function(){this.setTypographyClasses()},f.prototype.variantClass=function(){return c[this.variant]},f.prototype.themeColorClass=function(){return o(this.themeColor)?"k-color-"+this.themeColor:null},f.prototype.textAlignClass=function(){return g[this.textAlign]},f.prototype.fontWeightClass=function(){return a[this.fontWeight]},f.prototype.fontSizeClass=function(){return i[this.fontSize]},f.prototype.textTransformClass=function(){return h[this.textTransform]},f.prototype.setMarginClassPerSide=function(e,t){return""+l[e]+t},f.prototype.marginClasses=function(){var t,r=this;return"string"==typeof this.margin?[p[this.margin]]:"number"==typeof this.margin?["k-m-"+this.margin]:"object"==typeof this.margin?(t=[],Object.keys(this.margin).forEach(function(e){o(r.margin[e])&&t.push(r.setMarginClassPerSide(e,r.margin[e]))}),t):void 0},f.prototype.setTypographyClasses=function(){var t=this,r=this.element.nativeElement;this.typographyClasses.forEach(function(e){t.renderer.removeClass(r,e)}),this.typographyClasses=[this.variantClass(),this.fontSizeClass(),this.fontWeightClass(),this.textTransformClass(),this.textAlignClass(),this.themeColorClass()],this.margin&&this.marginClasses().forEach(function(e){t.typographyClasses.push(e)}),this.typographyClasses.forEach(function(e){o(e)&&t.renderer.addClass(r,e)})},f);function f(e,t,r){this.elementWrapper=e,this.renderer=t,this.element=r,this.typographyClasses=[],n.validatePackage(u)}m.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:m,deps:[{token:s.ElementRef},{token:s.Renderer2},{token:s.ElementRef}],target:s.ɵɵFactoryTarget.Directive}),m.ɵdir=s.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:m,selector:"[kendoTypography]",inputs:{variant:"variant",fontSize:"fontSize",fontWeight:"fontWeight",textAlign:"textAlign",textTransform:"textTransform",themeColor:"themeColor",margin:"margin"},exportAs:["kendoTypography"],usesOnChanges:!0,ngImport:s}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:m,decorators:[{type:t.Directive,args:[{selector:"[kendoTypography]",exportAs:"kendoTypography"}]}],ctorParameters:function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:s.ElementRef}]},propDecorators:{variant:[{type:t.Input}],fontSize:[{type:t.Input}],fontWeight:[{type:t.Input}],textAlign:[{type:t.Input}],textTransform:[{type:t.Input}],themeColor:[{type:t.Input}],margin:[{type:t.Input}]}});var y=function(){};y.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,deps:[],target:s.ɵɵFactoryTarget.NgModule}),y.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,declarations:[m],exports:[m]}),y.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,decorators:[{type:t.NgModule,args:[{declarations:[m],exports:[m]}]}]}),e.TypographyDirective=m,e.TypographyModule=y,Object.defineProperty(e,"__esModule",{value:!0})});
5
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define("KendoAngularTypography",["exports","@angular/core","@progress/kendo-licensing"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularTypography={},e.ng.core,e.KendoLicensing)}(this,function(e,t,n){"use strict";function r(r){var n;return r&&r.__esModule?r:(n=Object.create(null),r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n))}function o(e){return null!=e}var s=r(t),i={xs:"k-fs-xs",sm:"k-fs-sm",md:"k-fs-md",lg:"k-fs-lg",xl:"k-fs-xl"},a={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},p={xs:"k-m-xs",sm:"k-m-sm",md:"k-m-md",lg:"k-m-lg",xl:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},l={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},g={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},h={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},c={p:"k-paragraph",h1:"k-h1",h2:"k-h2",h3:"k-h3",h4:"k-h4",h5:"k-h5",h6:"k-h6",code:"k-code",pre:"k-pre"},u={name:"@progress/kendo-angular-typography",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1668672918,version:"",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"},m=(f.prototype.ngOnChanges=function(){this.setTypographyClasses()},f.prototype.variantClass=function(){return c[this.variant]},f.prototype.themeColorClass=function(){return o(this.themeColor)?"k-color-"+this.themeColor:null},f.prototype.textAlignClass=function(){return g[this.textAlign]},f.prototype.fontWeightClass=function(){return a[this.fontWeight]},f.prototype.fontSizeClass=function(){return i[this.fontSize]},f.prototype.textTransformClass=function(){return h[this.textTransform]},f.prototype.setMarginClassPerSide=function(e,t){return""+l[e]+t},f.prototype.marginClasses=function(){var t,r=this;return"string"==typeof this.margin?[p[this.margin]]:"number"==typeof this.margin?["k-m-"+this.margin]:"object"==typeof this.margin?(t=[],Object.keys(this.margin).forEach(function(e){o(r.margin[e])&&t.push(r.setMarginClassPerSide(e,r.margin[e]))}),t):void 0},f.prototype.setTypographyClasses=function(){var t=this,r=this.element.nativeElement;this.typographyClasses.forEach(function(e){t.renderer.removeClass(r,e)}),this.typographyClasses=[this.variantClass(),this.fontSizeClass(),this.fontWeightClass(),this.textTransformClass(),this.textAlignClass(),this.themeColorClass()],this.margin&&this.marginClasses().forEach(function(e){t.typographyClasses.push(e)}),this.typographyClasses.forEach(function(e){o(e)&&t.renderer.addClass(r,e)})},f);function f(e,t,r){this.elementWrapper=e,this.renderer=t,this.element=r,this.typographyClasses=[],n.validatePackage(u)}m.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:m,deps:[{token:s.ElementRef},{token:s.Renderer2},{token:s.ElementRef}],target:s.ɵɵFactoryTarget.Directive}),m.ɵdir=s.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:m,selector:"[kendoTypography]",inputs:{variant:"variant",fontSize:"fontSize",fontWeight:"fontWeight",textAlign:"textAlign",textTransform:"textTransform",themeColor:"themeColor",margin:"margin"},exportAs:["kendoTypography"],usesOnChanges:!0,ngImport:s}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:m,decorators:[{type:t.Directive,args:[{selector:"[kendoTypography]",exportAs:"kendoTypography"}]}],ctorParameters:function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:s.ElementRef}]},propDecorators:{variant:[{type:t.Input}],fontSize:[{type:t.Input}],fontWeight:[{type:t.Input}],textAlign:[{type:t.Input}],textTransform:[{type:t.Input}],themeColor:[{type:t.Input}],margin:[{type:t.Input}]}});var y=function(){};y.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,deps:[],target:s.ɵɵFactoryTarget.NgModule}),y.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,declarations:[m],exports:[m]}),y.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,decorators:[{type:t.NgModule,args:[{declarations:[m],exports:[m]}]}]}),e.TypographyDirective=m,e.TypographyModule=y,Object.defineProperty(e,"__esModule",{value:!0})});
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-typography',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1665572118,
12
+ publishDate: 1668672918,
13
13
  version: '',
14
14
  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'
15
15
  };
@@ -6,7 +6,7 @@ import { NgModule } from '@angular/core';
6
6
  import { TypographyDirective } from './typography.directive';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
9
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
10
  * definition for the Typography component.
11
11
  *
12
12
  * @example
@@ -154,7 +154,7 @@ const packageMetadata = {
154
154
  name: '@progress/kendo-angular-typography',
155
155
  productName: 'Kendo UI for Angular',
156
156
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
157
- publishDate: 1665572118,
157
+ publishDate: 1668672918,
158
158
  version: '',
159
159
  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'
160
160
  };
@@ -267,7 +267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
267
267
  }] } });
268
268
 
269
269
  /**
270
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
270
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
271
271
  * definition for the Typography component.
272
272
  *
273
273
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-typography",
3
- "version": "2.0.1-dev.202210121055",
3
+ "version": "2.0.2-dev.202211170815",
4
4
  "description": "Kendo UI Angular Typography",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -26,8 +26,8 @@
26
26
  "tslib": "^2.3.1"
27
27
  },
28
28
  "peerDependencies": {
29
- "@angular/common": "12 - 14",
30
- "@angular/core": "12 - 14",
29
+ "@angular/common": "12 - 15",
30
+ "@angular/core": "12 - 15",
31
31
  "@progress/kendo-angular-common": "^3.0.0",
32
32
  "@progress/kendo-licensing": "^1.0.0",
33
33
  "rxjs": "^6.5.3 || ^7.0.0"
@@ -5,7 +5,7 @@
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./typography.directive";
7
7
  /**
8
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
8
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
9
9
  * definition for the Typography component.
10
10
  *
11
11
  * @example