@progress/kendo-angular-indicators 22.1.0-develop.18 → 22.1.0-develop.19

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.
@@ -42,13 +42,13 @@ export declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestr
42
42
  /**
43
43
  * Specifies the size of the Badge ([see example]({% slug appearance_badge %}#toc-size)).
44
44
  *
45
- * @default medium
45
+ * @default undefined
46
46
  */
47
47
  size: BadgeSize;
48
48
  /**
49
49
  * Specifies the appearance fill style of the Badge ([see example]({% slug appearance_badge %}#toc-fill)).
50
50
  *
51
- * @default solid
51
+ * @default undefined
52
52
  */
53
53
  fill: BadgeFill;
54
54
  /**
@@ -56,13 +56,13 @@ export declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestr
56
56
  * The theme color applies as background and border color, while also amending the text color accordingly
57
57
  * ([see example]({% slug appearance_badge %}#toc-theme-color)).
58
58
  *
59
- * @default primary
59
+ * @default undefined
60
60
  */
61
61
  themeColor: BadgeThemeColor;
62
62
  /**
63
63
  * Specifies the roundness of the Badge ([see example]({% slug appearance_badge %}#toc-rounded)).
64
64
  *
65
- * @default medium
65
+ * @default undefined
66
66
  */
67
67
  rounded: BadgeRounded;
68
68
  /**
@@ -11,4 +11,4 @@
11
11
  *
12
12
  * For more information, see the [Badge Appearance - Fill]({% slug appearance_badge %}#toc-fill) documentation.
13
13
  */
14
- export type BadgeFill = 'solid' | 'outline' | 'none';
14
+ export type BadgeFill = 'solid' | 'outline';
@@ -9,8 +9,7 @@
9
9
  * * `small`
10
10
  * * `medium` (Default)
11
11
  * * `large`
12
- * * `none`
13
12
  *
14
13
  * For more information, see the [Badge Appearance - Size]({% slug appearance_badge %}#toc-size) documentation.
15
14
  */
16
- export type BadgeSize = 'small' | 'medium' | 'large' | 'none';
15
+ export type BadgeSize = 'small' | 'medium' | 'large';
@@ -18,6 +18,5 @@
18
18
  * * `dark`— Applies coloring based on dark theme color.
19
19
  * * `light`— Applies coloring based on light theme color.
20
20
  * * `inverse`— Applies coloring based on inverted theme color.
21
- *
22
21
  */
23
- export type BadgeThemeColor = 'primary' | 'secondary' | 'tertiary' | 'inherit' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'none';
22
+ export type BadgeThemeColor = 'primary' | 'secondary' | 'tertiary' | 'inherit' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
@@ -83,7 +83,7 @@ const packageMetadata = {
83
83
  productCode: 'KENDOUIANGULAR',
84
84
  productCodes: ['KENDOUIANGULAR'],
85
85
  publishDate: 0,
86
- version: '22.1.0-develop.18',
86
+ version: '22.1.0-develop.19',
87
87
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
88
88
  };
89
89
 
@@ -96,7 +96,8 @@ const ROUNDED_CLASSES = {
96
96
  'small': 'k-rounded-sm',
97
97
  'medium': 'k-rounded-md',
98
98
  'large': 'k-rounded-lg',
99
- 'full': 'k-rounded-full'
99
+ 'full': 'k-rounded-full',
100
+ 'none': 'k-rounded-none'
100
101
  };
101
102
  /**
102
103
  * Represents the [Kendo UI Badge component for Angular]({% slug overview_badge %}).
@@ -135,29 +136,29 @@ class BadgeComponent {
135
136
  /**
136
137
  * Specifies the size of the Badge ([see example]({% slug appearance_badge %}#toc-size)).
137
138
  *
138
- * @default medium
139
+ * @default undefined
139
140
  */
140
- size = 'medium';
141
+ size;
141
142
  /**
142
143
  * Specifies the appearance fill style of the Badge ([see example]({% slug appearance_badge %}#toc-fill)).
143
144
  *
144
- * @default solid
145
+ * @default undefined
145
146
  */
146
- fill = 'solid';
147
+ fill;
147
148
  /**
148
149
  * Specifies the theme color of the Badge.
149
150
  * The theme color applies as background and border color, while also amending the text color accordingly
150
151
  * ([see example]({% slug appearance_badge %}#toc-theme-color)).
151
152
  *
152
- * @default primary
153
+ * @default undefined
153
154
  */
154
- themeColor = 'primary';
155
+ themeColor;
155
156
  /**
156
157
  * Specifies the roundness of the Badge ([see example]({% slug appearance_badge %}#toc-rounded)).
157
158
  *
158
- * @default medium
159
+ * @default undefined
159
160
  */
160
- rounded = 'medium';
161
+ rounded;
161
162
  /**
162
163
  * Specifies the position of the Badge relative to the edge of the parent container element ([see example]({% slug alignandposition_badge %}#toc-position)).
163
164
  *
@@ -204,28 +205,16 @@ class BadgeComponent {
204
205
  return `k-badge-${this.position}`;
205
206
  }
206
207
  sizeClass() {
207
- if (this.size !== 'none') {
208
- return SIZE_CLASSES$1[this.size];
209
- }
210
- return '';
208
+ return SIZE_CLASSES$1[this.size];
211
209
  }
212
210
  roundedClass() {
213
- if (this.rounded !== 'none') {
214
- return ROUNDED_CLASSES[this.rounded];
215
- }
216
- return '';
211
+ return ROUNDED_CLASSES[this.rounded];
217
212
  }
218
213
  themeColorClass() {
219
- if (this.themeColor !== 'none' && this.fill !== 'none') {
220
- return `k-badge-${this.fill}-${this.themeColor}`;
221
- }
222
- return '';
214
+ return this.themeColor ? `k-badge-${this.themeColor}` : '';
223
215
  }
224
216
  fillClass() {
225
- if (this.fill !== 'none') {
226
- return `k-badge-${this.fill}`;
227
- }
228
- return '';
217
+ return this.fill ? `k-badge-${this.fill}` : '';
229
218
  }
230
219
  setBadgeClasses() {
231
220
  const element = this.element.nativeElement;
@@ -239,7 +228,7 @@ class BadgeComponent {
239
228
  this.roundedClass(),
240
229
  this.alignClass(),
241
230
  this.positionClass()
242
- ];
231
+ ].filter((className) => className);
243
232
  this.badgeClasses.forEach((className) => {
244
233
  if (className) {
245
234
  this.renderer.addClass(element, className);
@@ -340,7 +329,7 @@ class LoaderComponent {
340
329
  /**
341
330
  * Specifies the theme color of the Loader.
342
331
  *
343
- * @default primary
332
+ * @default undefined
344
333
  */
345
334
  set themeColor(themeColor) {
346
335
  this.renderer.removeClass(this.loader, `k-loader-${this.themeColor}`);
@@ -353,7 +342,7 @@ class LoaderComponent {
353
342
  /**
354
343
  * Specifies the size of the Loader.
355
344
  *
356
- * @default medium
345
+ * @default undefined
357
346
  */
358
347
  set size(size) {
359
348
  this.renderer.removeClass(this.loader, SIZE_CLASSES[this.size]);
@@ -364,8 +353,8 @@ class LoaderComponent {
364
353
  return this._size;
365
354
  }
366
355
  _type = 'pulsing';
367
- _themeColor = 'primary';
368
- _size = 'medium';
356
+ _themeColor;
357
+ _size;
369
358
  loader;
370
359
  constructor(element, renderer) {
371
360
  this.element = element;
@@ -384,8 +373,8 @@ class LoaderComponent {
384
373
  }
385
374
  setLoaderClasses() {
386
375
  this.renderer.addClass(this.loader, TYPE_CLASSES[this.type]);
387
- this.renderer.addClass(this.loader, `k-loader-${this.themeColor}`);
388
- this.renderer.addClass(this.loader, SIZE_CLASSES[this.size]);
376
+ this.themeColor && this.renderer.addClass(this.loader, `k-loader-${this.themeColor}`);
377
+ this.size && this.renderer.addClass(this.loader, SIZE_CLASSES[this.size]);
389
378
  }
390
379
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LoaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
391
380
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: LoaderComponent, isStandalone: true, selector: "kendo-loader", inputs: { type: "type", themeColor: "themeColor", size: "size" }, host: { properties: { "class.k-loader": "this.hostClass" } }, ngImport: i0, template: `
@@ -32,14 +32,14 @@ export declare class LoaderComponent implements AfterViewInit {
32
32
  /**
33
33
  * Specifies the theme color of the Loader.
34
34
  *
35
- * @default primary
35
+ * @default undefined
36
36
  */
37
37
  set themeColor(themeColor: LoaderThemeColor);
38
38
  get themeColor(): LoaderThemeColor;
39
39
  /**
40
40
  * Specifies the size of the Loader.
41
41
  *
42
- * @default medium
42
+ * @default undefined
43
43
  */
44
44
  set size(size: LoaderSize);
45
45
  get size(): LoaderSize;
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1770112335,
11
- "version": "22.1.0-develop.18",
10
+ "publishDate": 1770219705,
11
+ "version": "22.1.0-develop.19",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-indicators",
3
- "version": "22.1.0-develop.18",
3
+ "version": "22.1.0-develop.19",
4
4
  "description": "Kendo UI Indicators for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -17,7 +17,7 @@
17
17
  "package": {
18
18
  "productName": "Kendo UI for Angular",
19
19
  "productCode": "KENDOUIANGULAR",
20
- "publishDate": 1770112335,
20
+ "publishDate": 1770219705,
21
21
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
22
  }
23
23
  },
@@ -27,14 +27,14 @@
27
27
  "@angular/core": "19 - 21",
28
28
  "@angular/platform-browser": "19 - 21",
29
29
  "@progress/kendo-licensing": "^1.10.0",
30
- "@progress/kendo-angular-common": "22.1.0-develop.18",
31
- "@progress/kendo-angular-intl": "22.1.0-develop.18",
32
- "@progress/kendo-angular-l10n": "22.1.0-develop.18",
30
+ "@progress/kendo-angular-common": "22.1.0-develop.19",
31
+ "@progress/kendo-angular-intl": "22.1.0-develop.19",
32
+ "@progress/kendo-angular-l10n": "22.1.0-develop.19",
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": "22.1.0-develop.18"
37
+ "@progress/kendo-angular-schematics": "22.1.0-develop.19"
38
38
  },
39
39
  "schematics": "./schematics/collection.json",
40
40
  "module": "fesm2022/progress-kendo-angular-indicators.mjs",