@progress/kendo-angular-typography 19.1.2-develop.4 → 19.1.2-develop.5

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.
package/directives.d.ts CHANGED
@@ -4,6 +4,20 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TypographyDirective } from "./typography.directive";
6
6
  /**
7
- * Utility array that contains all `@progress/kendo-angular-typography` related components and directives
7
+ * Use this utility array to access all `@progress/kendo-angular-typography`-related components and directives in a standalone Angular component.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import { Component } from '@angular/core';
12
+ * import { KENDO_TYPOGRAPHY } from '@progress/kendo-angular-typography';
13
+ *
14
+ * @Component({
15
+ * selector: 'my-app',
16
+ * standalone: true,
17
+ * imports: [KENDO_TYPOGRAPHY],
18
+ * template: `<div kendoTypography variant="k-h1"></div>`
19
+ * })
20
+ * export class AppComponent {}
21
+ * ```
8
22
  */
9
23
  export declare const KENDO_TYPOGRAPHY: readonly [typeof TypographyDirective];
@@ -4,7 +4,21 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TypographyDirective } from "./typography.directive";
6
6
  /**
7
- * Utility array that contains all `@progress/kendo-angular-typography` related components and directives
7
+ * Use this utility array to access all `@progress/kendo-angular-typography`-related components and directives in a standalone Angular component.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import { Component } from '@angular/core';
12
+ * import { KENDO_TYPOGRAPHY } from '@progress/kendo-angular-typography';
13
+ *
14
+ * @Component({
15
+ * selector: 'my-app',
16
+ * standalone: true,
17
+ * imports: [KENDO_TYPOGRAPHY],
18
+ * template: `<div kendoTypography variant="k-h1"></div>`
19
+ * })
20
+ * export class AppComponent {}
21
+ * ```
8
22
  */
9
23
  export const KENDO_TYPOGRAPHY = [
10
24
  TypographyDirective
@@ -3,20 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the theme color.
7
- *
8
- * The possible values are:
9
- * * `inherit` (Default)&mdash;Applies coloring based on the current color.
10
- * * `primary` &mdash;Applies coloring based on primary theme color.
11
- * * `secondary`&mdash;Applies coloring based on secondary theme color.
12
- * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
13
- * * `info`&mdash;Applies coloring based on info theme color.
14
- * * `success`&mdash; Applies coloring based on success theme color.
15
- * * `warning`&mdash; Applies coloring based on warning theme color.
16
- * * `error`&mdash; Applies coloring based on error theme color.
17
- * * `dark`&mdash; Applies coloring based on dark theme color.
18
- * * `light`&mdash; Applies coloring based on light theme color.
19
- * * `inverse`&mdash; Applies coloring based on inverse theme color.
6
+ * Sets the theme color.
20
7
  *
8
+ * You can use these values:
9
+ * * `inherit` (Default)&mdash;Uses coloring based on the current color.
10
+ * * `primary`&mdash;Uses coloring based on primary theme color.
11
+ * * `secondary`&mdash;Uses coloring based on secondary theme color.
12
+ * * `tertiary`&mdash;Uses coloring based on tertiary theme color.
13
+ * * `info`&mdash;Uses coloring based on info theme color.
14
+ * * `success`&mdash;Uses coloring based on success theme color.
15
+ * * `warning`&mdash;Uses coloring based on warning theme color.
16
+ * * `error`&mdash;Uses coloring based on error theme color.
17
+ * * `dark`&mdash;Uses coloring based on dark theme color.
18
+ * * `light`&mdash;Uses coloring based on light theme color.
19
+ * * `inverse`&mdash;Uses coloring based on inverse theme color.
21
20
  */
22
21
  export {};
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1750157225,
14
- version: '19.1.2-develop.4',
13
+ publishDate: 1750431135,
14
+ version: '19.1.2-develop.5',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -14,10 +14,10 @@ import { packageMetadata } from './package-metadata';
14
14
  import * as i0 from "@angular/core";
15
15
  /**
16
16
  * Represents the [Kendo UI Typography directive for Angular]({% slug overview_typography %}).
17
- * Used to represent element types in a uniform way by relying on the predefined Kendo theme classes.
17
+ * Use this directive to represent element types in a uniform way by relying on the predefined Kendo theme classes.
18
18
  *
19
19
  * @example
20
- * ```ts-no-run
20
+ * ```html
21
21
  * <div kendoTypography variant="k-h1"></div>
22
22
  * ```
23
23
  */
@@ -26,7 +26,7 @@ export class TypographyDirective {
26
26
  renderer;
27
27
  element;
28
28
  /**
29
- * Specifies the element variant class that will be applied.
29
+ * Specifies the element `variant` class that will be applied.
30
30
  */
31
31
  variant;
32
32
  /**
@@ -38,15 +38,15 @@ export class TypographyDirective {
38
38
  */
39
39
  fontWeight;
40
40
  /**
41
- * Sets the element text-align style.
41
+ * Sets the element `text-align` style.
42
42
  */
43
43
  textAlign;
44
44
  /**
45
- * Sets the element text-transform style.
45
+ * Sets the element `text-transform` style.
46
46
  */
47
47
  textTransform;
48
48
  /**
49
- * Applies the theme color to the element.
49
+ * Applies the `theme-color` to the element.
50
50
  */
51
51
  themeColor;
52
52
  typographyClasses = [];
@@ -73,17 +73,17 @@ const packageMetadata = {
73
73
  productName: 'Kendo UI for Angular',
74
74
  productCode: 'KENDOUIANGULAR',
75
75
  productCodes: ['KENDOUIANGULAR'],
76
- publishDate: 1750157225,
77
- version: '19.1.2-develop.4',
76
+ publishDate: 1750431135,
77
+ version: '19.1.2-develop.5',
78
78
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
79
79
  };
80
80
 
81
81
  /**
82
82
  * Represents the [Kendo UI Typography directive for Angular]({% slug overview_typography %}).
83
- * Used to represent element types in a uniform way by relying on the predefined Kendo theme classes.
83
+ * Use this directive to represent element types in a uniform way by relying on the predefined Kendo theme classes.
84
84
  *
85
85
  * @example
86
- * ```ts-no-run
86
+ * ```html
87
87
  * <div kendoTypography variant="k-h1"></div>
88
88
  * ```
89
89
  */
@@ -92,7 +92,7 @@ class TypographyDirective {
92
92
  renderer;
93
93
  element;
94
94
  /**
95
- * Specifies the element variant class that will be applied.
95
+ * Specifies the element `variant` class that will be applied.
96
96
  */
97
97
  variant;
98
98
  /**
@@ -104,15 +104,15 @@ class TypographyDirective {
104
104
  */
105
105
  fontWeight;
106
106
  /**
107
- * Sets the element text-align style.
107
+ * Sets the element `text-align` style.
108
108
  */
109
109
  textAlign;
110
110
  /**
111
- * Sets the element text-transform style.
111
+ * Sets the element `text-transform` style.
112
112
  */
113
113
  textTransform;
114
114
  /**
115
- * Applies the theme color to the element.
115
+ * Applies the `theme-color` to the element.
116
116
  */
117
117
  themeColor;
118
118
  typographyClasses = [];
@@ -187,7 +187,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
187
187
  }] } });
188
188
 
189
189
  /**
190
- * Utility array that contains all `@progress/kendo-angular-typography` related components and directives
190
+ * Use this utility array to access all `@progress/kendo-angular-typography`-related components and directives in a standalone Angular component.
191
+ *
192
+ * @example
193
+ * ```typescript
194
+ * import { Component } from '@angular/core';
195
+ * import { KENDO_TYPOGRAPHY } from '@progress/kendo-angular-typography';
196
+ *
197
+ * @Component({
198
+ * selector: 'my-app',
199
+ * standalone: true,
200
+ * imports: [KENDO_TYPOGRAPHY],
201
+ * template: `<div kendoTypography variant="k-h1"></div>`
202
+ * })
203
+ * export class AppComponent {}
204
+ * ```
191
205
  */
192
206
  const KENDO_TYPOGRAPHY = [
193
207
  TypographyDirective
@@ -3,29 +3,29 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the font size.
7
- * The possible values are:
6
+ * Sets the font size.
7
+ * You can use these values:
8
8
  * * `xs`
9
9
  * * `sm`
10
10
  * * `md`
11
11
  * * `lg`
12
12
  * * `xl`
13
13
  *
14
- * The corresponding styles for the Default Kendo theme are:
14
+ * The matching styles for the Default Kendo theme are:
15
15
  * * `xs`&mdash;font-size: 10px
16
16
  * * `sm`&mdash;font-size: 12px
17
17
  * * `md`&mdash;font-size: 16px
18
18
  * * `lg`&mdash;font-size: 18px
19
19
  * * `xl`&mdash;font-size: 20px
20
20
  *
21
- * The corresponding styles for the Bootstrap Kendo theme are:
21
+ * The matching styles for the Bootstrap Kendo theme are:
22
22
  * * `xs`&mdash;font-size: 0.75rem
23
23
  * * `sm`&mdash;font-size: 0.875rem
24
24
  * * `md`&mdash;font-size: 1rem
25
25
  * * `lg`&mdash;font-size: 1.25rem
26
26
  * * `xl`&mdash;font-size: 1.5rem
27
27
  *
28
- * The corresponding styles for the Material Kendo theme are:
28
+ * The matching styles for the Material Kendo theme are:
29
29
  * * `xs`&mdash;font-size: 10px
30
30
  * * `sm`&mdash;font-size: 12px
31
31
  * * `md`&mdash;font-size: 14px
@@ -3,12 +3,12 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the font weight.
6
+ * Sets the font weight.
7
7
  *
8
- * The possible values are:
8
+ * You can use these values:
9
9
  * * `light`&mdash;font-weight: 300
10
10
  * * `normal`&mdash;font-weight: 400
11
- * * `bold` For Default and Bootstrap themes&mdash;font-weight: 700. For Material theme&mdash;font-weight: 500.
11
+ * * `bold`&mdash;font-weight: 700 (for Default and Bootstrap themes); font-weight: 500 (for Material theme)
12
12
  */
13
13
  export type TypographyFontWeight = 'light' | 'normal' | 'bold';
14
14
  /**
@@ -3,14 +3,13 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the font align.
6
+ * Sets the text alignment.
7
7
  *
8
- * The possible values are:
8
+ * You can use these values:
9
9
  * * `left`&mdash;text-align: left
10
10
  * * `right`&mdash;text-align: right
11
11
  * * `center`&mdash;text-align: center
12
12
  * * `justify`&mdash;text-align: justify
13
- *
14
13
  */
15
14
  export type TypographyTextAlign = 'left' | 'right' | 'center' | 'justify';
16
15
  /**
@@ -3,13 +3,12 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the text transform.
6
+ * Sets the text transform.
7
7
  *
8
- * The possible values are:
8
+ * You can use these values:
9
9
  * * `lowercase`&mdash;text-transform: lowercase
10
10
  * * `uppercase`&mdash;text-transform: uppercase
11
11
  * * `capitalize`&mdash;text-transform: capitalize
12
- *
13
12
  */
14
13
  export type TypographyTextTransform = 'lowercase' | 'uppercase' | 'capitalize';
15
14
  /**
@@ -3,20 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the theme color.
7
- *
8
- * The possible values are:
9
- * * `inherit` (Default)&mdash;Applies coloring based on the current color.
10
- * * `primary` &mdash;Applies coloring based on primary theme color.
11
- * * `secondary`&mdash;Applies coloring based on secondary theme color.
12
- * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
13
- * * `info`&mdash;Applies coloring based on info theme color.
14
- * * `success`&mdash; Applies coloring based on success theme color.
15
- * * `warning`&mdash; Applies coloring based on warning theme color.
16
- * * `error`&mdash; Applies coloring based on error theme color.
17
- * * `dark`&mdash; Applies coloring based on dark theme color.
18
- * * `light`&mdash; Applies coloring based on light theme color.
19
- * * `inverse`&mdash; Applies coloring based on inverse theme color.
6
+ * Sets the theme color.
20
7
  *
8
+ * You can use these values:
9
+ * * `inherit` (Default)&mdash;Uses coloring based on the current color.
10
+ * * `primary`&mdash;Uses coloring based on primary theme color.
11
+ * * `secondary`&mdash;Uses coloring based on secondary theme color.
12
+ * * `tertiary`&mdash;Uses coloring based on tertiary theme color.
13
+ * * `info`&mdash;Uses coloring based on info theme color.
14
+ * * `success`&mdash;Uses coloring based on success theme color.
15
+ * * `warning`&mdash;Uses coloring based on warning theme color.
16
+ * * `error`&mdash;Uses coloring based on error theme color.
17
+ * * `dark`&mdash;Uses coloring based on dark theme color.
18
+ * * `light`&mdash;Uses coloring based on light theme color.
19
+ * * `inverse`&mdash;Uses coloring based on inverse theme color.
21
20
  */
22
21
  export type TypographyThemeColor = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Applies the available Kendo theme class to the element.
7
- * The possible values are:
7
+ * You can use these values:
8
8
  * * `p`
9
9
  * * `h1`
10
10
  * * `h2`
@@ -15,16 +15,16 @@
15
15
  * * `code`
16
16
  * * `pre`
17
17
  *
18
- * The corresponding Kendo theme classes are:
19
- * * `p`&mdash; `k-paragraph`
20
- * * `h1`&mdash; `k-h1`
21
- * * `h2`&mdash; `k-h2`
22
- * * `h3`&mdash; `k-h3`
23
- * * `h4`&mdash; `k-h4`
24
- * * `h5`&mdash; `k-h5`
25
- * * `h6`&mdash; `k-h6`
26
- * * `code`&mdash; `k-code`
27
- * * `pre`&mdash; `k-pre`
18
+ * The matching Kendo theme classes are:
19
+ * * `p`&mdash;`k-paragraph`
20
+ * * `h1`&mdash;`k-h1`
21
+ * * `h2`&mdash;`k-h2`
22
+ * * `h3`&mdash;`k-h3`
23
+ * * `h4`&mdash;`k-h4`
24
+ * * `h5`&mdash;`k-h5`
25
+ * * `h6`&mdash;`k-h6`
26
+ * * `code`&mdash;`k-code`
27
+ * * `pre`&mdash;`k-pre`
28
28
  */
29
29
  export type TypographyVariant = 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre';
30
30
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-typography",
3
- "version": "19.1.2-develop.4",
3
+ "version": "19.1.2-develop.5",
4
4
  "description": "Kendo UI Angular Typography",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1750157225,
22
+ "publishDate": 1750431135,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
24
24
  }
25
25
  },
@@ -29,12 +29,12 @@
29
29
  "@angular/core": "16 - 20",
30
30
  "@angular/platform-browser": "16 - 20",
31
31
  "@progress/kendo-licensing": "^1.5.0",
32
- "@progress/kendo-angular-common": "19.1.2-develop.4",
32
+ "@progress/kendo-angular-common": "19.1.2-develop.5",
33
33
  "rxjs": "^6.5.3 || ^7.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "tslib": "^2.3.1",
37
- "@progress/kendo-angular-schematics": "19.1.2-develop.4"
37
+ "@progress/kendo-angular-schematics": "19.1.2-develop.5"
38
38
  },
39
39
  "schematics": "./schematics/collection.json",
40
40
  "module": "fesm2022/progress-kendo-angular-typography.mjs",
@@ -12,10 +12,10 @@ import { TypographyVariant } from './models/variant';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
14
  * Represents the [Kendo UI Typography directive for Angular]({% slug overview_typography %}).
15
- * Used to represent element types in a uniform way by relying on the predefined Kendo theme classes.
15
+ * Use this directive to represent element types in a uniform way by relying on the predefined Kendo theme classes.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <div kendoTypography variant="k-h1"></div>
20
20
  * ```
21
21
  */
@@ -24,7 +24,7 @@ export declare class TypographyDirective implements OnChanges {
24
24
  private renderer;
25
25
  private element;
26
26
  /**
27
- * Specifies the element variant class that will be applied.
27
+ * Specifies the element `variant` class that will be applied.
28
28
  */
29
29
  variant: TypographyVariant;
30
30
  /**
@@ -36,15 +36,15 @@ export declare class TypographyDirective implements OnChanges {
36
36
  */
37
37
  fontWeight: TypographyFontWeight;
38
38
  /**
39
- * Sets the element text-align style.
39
+ * Sets the element `text-align` style.
40
40
  */
41
41
  textAlign: TypographyTextAlign;
42
42
  /**
43
- * Sets the element text-transform style.
43
+ * Sets the element `text-transform` style.
44
44
  */
45
45
  textTransform: TypographyTextTransform;
46
46
  /**
47
- * Applies the theme color to the element.
47
+ * Applies the `theme-color` to the element.
48
48
  */
49
49
  themeColor: TypographyThemeColor;
50
50
  private typographyClasses;