@progress/kendo-angular-typography 2.0.0-next.202204060713 → 2.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.
@@ -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){if(r&&r.__esModule)return r;var n=Object.create(null);return 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:1649229180,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){if(r&&r.__esModule)return r;var n=Object.create(null);return 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:1650441240,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: 1649229180,
12
+ publishDate: 1650441240,
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
  };
@@ -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: 1649229180,
157
+ publishDate: 1650441240,
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-typography",
3
- "version": "2.0.0-next.202204060713",
3
+ "version": "2.0.0",
4
4
  "description": "Kendo UI Angular Typography",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -26,9 +26,9 @@
26
26
  "tslib": "^2.3.1"
27
27
  },
28
28
  "peerDependencies": {
29
- "@angular/common": "^12.0.0 || ^13.0.0",
30
- "@angular/core": "^12.0.0 || ^13.0.0",
31
- "@progress/kendo-angular-common": ">3.0.0-next",
29
+ "@angular/common": "12 - 14",
30
+ "@angular/core": "12 - 14",
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"
34
34
  },
@@ -59,12 +59,10 @@
59
59
  "release": {
60
60
  "debug": false,
61
61
  "branchTags": {
62
- "develop": "dev",
63
- "ng12-update": "next"
62
+ "develop": "dev"
64
63
  },
65
64
  "fallbackTags": {
66
- "dev": "latest",
67
- "next": "latest"
65
+ "dev": "latest"
68
66
  },
69
67
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
70
68
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",