@progress/kendo-angular-inputs 19.1.1-develop.2 → 19.1.1

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 (160) hide show
  1. package/checkbox/checkbox.component.d.ts +15 -13
  2. package/checkbox/checkbox.directive.d.ts +8 -15
  3. package/checkbox/checked-state.d.ts +5 -1
  4. package/checkbox.module.d.ts +9 -20
  5. package/colorpicker/color-gradient.component.d.ts +26 -26
  6. package/colorpicker/color-input.component.d.ts +18 -18
  7. package/colorpicker/color-palette.component.d.ts +28 -29
  8. package/colorpicker/colorpicker.component.d.ts +53 -69
  9. package/colorpicker/events/active-color-click-event.d.ts +10 -14
  10. package/colorpicker/events/cancel-event.d.ts +1 -1
  11. package/colorpicker/events/close-event.d.ts +1 -1
  12. package/colorpicker/events/open-event.d.ts +1 -1
  13. package/colorpicker/flatcolorpicker.component.d.ts +26 -29
  14. package/colorpicker/localization/custom-messages.component.d.ts +9 -1
  15. package/colorpicker/localization/messages.d.ts +29 -29
  16. package/colorpicker/models/palette-settings.d.ts +0 -3
  17. package/colorpicker/models/tile-size.d.ts +6 -0
  18. package/colorpicker.module.d.ts +18 -2
  19. package/common/models/fillmode.d.ts +4 -1
  20. package/common/models/rounded.d.ts +8 -2
  21. package/common/models/size.d.ts +4 -1
  22. package/common/models/type.d.ts +3 -1
  23. package/common/radio-checkbox.base.d.ts +0 -7
  24. package/directives.d.ts +216 -18
  25. package/esm2022/checkbox/checkbox.component.mjs +15 -13
  26. package/esm2022/checkbox/checkbox.directive.mjs +8 -15
  27. package/esm2022/checkbox.module.mjs +9 -20
  28. package/esm2022/colorpicker/color-gradient.component.mjs +26 -26
  29. package/esm2022/colorpicker/color-input.component.mjs +21 -21
  30. package/esm2022/colorpicker/color-palette.component.mjs +28 -29
  31. package/esm2022/colorpicker/colorpicker.component.mjs +53 -69
  32. package/esm2022/colorpicker/events/active-color-click-event.mjs +10 -14
  33. package/esm2022/colorpicker/events/cancel-event.mjs +1 -1
  34. package/esm2022/colorpicker/events/close-event.mjs +1 -1
  35. package/esm2022/colorpicker/events/open-event.mjs +1 -1
  36. package/esm2022/colorpicker/flatcolorpicker.component.mjs +26 -29
  37. package/esm2022/colorpicker/localization/custom-messages.component.mjs +9 -1
  38. package/esm2022/colorpicker/localization/messages.mjs +29 -29
  39. package/esm2022/colorpicker.module.mjs +18 -2
  40. package/esm2022/common/radio-checkbox.base.mjs +0 -7
  41. package/esm2022/directives.mjs +216 -18
  42. package/esm2022/formfield/error.component.mjs +9 -6
  43. package/esm2022/formfield/formfield.component.mjs +24 -20
  44. package/esm2022/formfield/hint.component.mjs +8 -5
  45. package/esm2022/formfield.module.mjs +9 -20
  46. package/esm2022/index.mjs +1 -0
  47. package/esm2022/inputs.module.mjs +9 -21
  48. package/esm2022/maskedtextbox/maskedtextbox.component.mjs +46 -88
  49. package/esm2022/maskedtextbox.module.mjs +9 -20
  50. package/esm2022/numerictextbox/localization/custom-messages.component.mjs +13 -1
  51. package/esm2022/numerictextbox/localization/messages.mjs +2 -2
  52. package/esm2022/numerictextbox/numerictextbox.component.mjs +57 -70
  53. package/esm2022/numerictextbox.module.mjs +9 -20
  54. package/esm2022/otp.module.mjs +44 -0
  55. package/esm2022/otpinput/localization/custom-messages.component.mjs +3 -1
  56. package/esm2022/otpinput/otpinput.component.mjs +39 -42
  57. package/esm2022/package-metadata.mjs +2 -2
  58. package/esm2022/radiobutton/radiobutton.component.mjs +15 -6
  59. package/esm2022/radiobutton/radiobutton.directive.mjs +6 -10
  60. package/esm2022/radiobutton.module.mjs +8 -18
  61. package/esm2022/rangeslider/localization/custom-messages.component.mjs +11 -1
  62. package/esm2022/rangeslider/rangeslider.component.mjs +12 -16
  63. package/esm2022/rangeslider.module.mjs +7 -18
  64. package/esm2022/rating/directives/rating-hovered-item.directive.mjs +11 -3
  65. package/esm2022/rating/directives/rating-item.directive.mjs +10 -3
  66. package/esm2022/rating/directives/rating-selected-item.directive.mjs +12 -3
  67. package/esm2022/rating/rating.component.mjs +23 -20
  68. package/esm2022/rating.module.mjs +7 -18
  69. package/esm2022/shared/input-separator.component.mjs +10 -15
  70. package/esm2022/shared/textarea.directive.mjs +5 -6
  71. package/esm2022/signature/events/close-event.mjs +1 -1
  72. package/esm2022/signature/localization/custom-messages.component.mjs +1 -1
  73. package/esm2022/signature/signature.component.mjs +52 -51
  74. package/esm2022/signature.module.mjs +7 -18
  75. package/esm2022/slider/localization/custom-messages.component.mjs +1 -1
  76. package/esm2022/slider/slider.component.mjs +18 -19
  77. package/esm2022/slider.module.mjs +7 -18
  78. package/esm2022/sliders-common/label-template.directive.mjs +9 -19
  79. package/esm2022/sliders-common/slider-base.mjs +47 -29
  80. package/esm2022/switch/events/blur-event.mjs +1 -1
  81. package/esm2022/switch/events/focus-event.mjs +1 -1
  82. package/esm2022/switch/localization/custom-messages.component.mjs +1 -1
  83. package/esm2022/switch/switch.component.mjs +32 -43
  84. package/esm2022/switch.module.mjs +7 -18
  85. package/esm2022/textarea/textarea-prefix.component.mjs +11 -13
  86. package/esm2022/textarea/textarea-suffix.component.mjs +11 -13
  87. package/esm2022/textarea/textarea.component.mjs +40 -103
  88. package/esm2022/textarea.module.mjs +7 -18
  89. package/esm2022/textbox/localization/custom-messages.component.mjs +1 -1
  90. package/esm2022/textbox/textbox-prefix.directive.mjs +9 -13
  91. package/esm2022/textbox/textbox-suffix.directive.mjs +10 -14
  92. package/esm2022/textbox/textbox.component.mjs +41 -112
  93. package/esm2022/textbox/textbox.directive.mjs +2 -2
  94. package/esm2022/textbox.module.mjs +7 -18
  95. package/fesm2022/progress-kendo-angular-inputs.mjs +1207 -1280
  96. package/formfield/error.component.d.ts +9 -6
  97. package/formfield/formfield.component.d.ts +24 -20
  98. package/formfield/hint.component.d.ts +8 -5
  99. package/formfield/models/message-align.d.ts +3 -1
  100. package/formfield/models/orientation.d.ts +3 -0
  101. package/formfield/models/show-options.d.ts +5 -7
  102. package/formfield.module.d.ts +9 -20
  103. package/index.d.ts +1 -0
  104. package/inputs.module.d.ts +9 -21
  105. package/maskedtextbox/maskedtextbox.component.d.ts +46 -88
  106. package/maskedtextbox.module.d.ts +9 -20
  107. package/numerictextbox/localization/custom-messages.component.d.ts +13 -1
  108. package/numerictextbox/localization/messages.d.ts +2 -2
  109. package/numerictextbox/numerictextbox.component.d.ts +57 -70
  110. package/numerictextbox.module.d.ts +9 -20
  111. package/otp.module.d.ts +32 -0
  112. package/otpinput/localization/custom-messages.component.d.ts +3 -1
  113. package/otpinput/models/otpinput-type.d.ts +2 -2
  114. package/otpinput/models/separator-icon.d.ts +8 -3
  115. package/otpinput/otpinput.component.d.ts +39 -42
  116. package/package.json +12 -12
  117. package/radiobutton/radiobutton.component.d.ts +15 -6
  118. package/radiobutton/radiobutton.directive.d.ts +6 -10
  119. package/radiobutton.module.d.ts +8 -18
  120. package/rangeslider/localization/custom-messages.component.d.ts +11 -1
  121. package/rangeslider/rangeslider-value.type.d.ts +2 -2
  122. package/rangeslider/rangeslider.component.d.ts +12 -16
  123. package/rangeslider.module.d.ts +7 -18
  124. package/rating/directives/rating-hovered-item.directive.d.ts +11 -3
  125. package/rating/directives/rating-item.directive.d.ts +10 -3
  126. package/rating/directives/rating-selected-item.directive.d.ts +12 -3
  127. package/rating/models/precision.d.ts +1 -2
  128. package/rating/models/selection.d.ts +1 -2
  129. package/rating/rating.component.d.ts +21 -18
  130. package/rating.module.d.ts +7 -18
  131. package/shared/input-separator.component.d.ts +10 -15
  132. package/shared/textarea.directive.d.ts +5 -6
  133. package/signature/events/close-event.d.ts +1 -1
  134. package/signature/localization/custom-messages.component.d.ts +1 -1
  135. package/signature/signature.component.d.ts +52 -51
  136. package/signature.module.d.ts +7 -18
  137. package/slider/localization/custom-messages.component.d.ts +1 -1
  138. package/slider/slider.component.d.ts +18 -19
  139. package/slider.module.d.ts +7 -18
  140. package/sliders-common/label-template.directive.d.ts +9 -19
  141. package/sliders-common/slider-base.d.ts +47 -29
  142. package/sliders-common/title-callback.d.ts +19 -3
  143. package/switch/events/blur-event.d.ts +1 -1
  144. package/switch/events/focus-event.d.ts +1 -1
  145. package/switch/localization/custom-messages.component.d.ts +1 -1
  146. package/switch/switch.component.d.ts +32 -43
  147. package/switch.module.d.ts +7 -18
  148. package/textarea/models/adornments-orientation.d.ts +3 -3
  149. package/textarea/models/flow.d.ts +3 -3
  150. package/textarea/models/resize.d.ts +6 -7
  151. package/textarea/textarea-prefix.component.d.ts +11 -13
  152. package/textarea/textarea-suffix.component.d.ts +11 -13
  153. package/textarea/textarea.component.d.ts +40 -103
  154. package/textarea.module.d.ts +7 -18
  155. package/textbox/localization/custom-messages.component.d.ts +1 -1
  156. package/textbox/textbox-prefix.directive.d.ts +9 -13
  157. package/textbox/textbox-suffix.directive.d.ts +10 -14
  158. package/textbox/textbox.component.d.ts +41 -112
  159. package/textbox/textbox.directive.d.ts +2 -2
  160. package/textbox.module.d.ts +7 -18
@@ -0,0 +1,44 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgModule } from "@angular/core";
6
+ import { KENDO_OTPINPUT } from "./directives";
7
+ import { IconsService } from "@progress/kendo-angular-icons";
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "./otpinput/otpinput.component";
10
+ import * as i2 from "./otpinput/localization/custom-messages.component";
11
+ //IMPORTANT: NgModule export kept for backwards compatibility
12
+ /**
13
+ * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the OTP Input component.
14
+ *
15
+ * Use this module to add the OTP Input component to your NgModule-based Angular application.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * import { OTPInputModule } from '@progress/kendo-angular-inputs';
20
+ * import { NgModule } from '@angular/core';
21
+ * import { BrowserModule } from '@angular/platform-browser';
22
+ * import { AppComponent } from './app.component';
23
+ *
24
+ * @NgModule({
25
+ * declarations: [AppComponent],
26
+ * imports: [BrowserModule, OTPInputModule],
27
+ * bootstrap: [AppComponent]
28
+ * })
29
+ * export class AppModule {}
30
+ * ```
31
+ */
32
+ export class OTPInputModule {
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: OTPInputModule, imports: [i1.OTPInputComponent, i2.OTPInputCustomMessagesComponent], exports: [i1.OTPInputComponent, i2.OTPInputCustomMessagesComponent] });
35
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputModule, providers: [IconsService], imports: [i1.OTPInputComponent] });
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OTPInputModule, decorators: [{
38
+ type: NgModule,
39
+ args: [{
40
+ imports: [...KENDO_OTPINPUT],
41
+ exports: [...KENDO_OTPINPUT],
42
+ providers: [IconsService]
43
+ }]
44
+ }] });
@@ -8,7 +8,9 @@ import { OTPInputMessages } from './messages';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-l10n";
10
10
  /**
11
- * Custom component messages override default component messages.
11
+ * Provides custom messages for the OTP Input component.
12
+ *
13
+ * Use this component to override the default messages.
12
14
  */
13
15
  export class OTPInputCustomMessagesComponent extends OTPInputMessages {
14
16
  service;
@@ -19,6 +19,19 @@ const DEFAULT_SIZE = 'medium';
19
19
  const DEFAULT_ROUNDED = 'medium';
20
20
  const DEFAULT_FILL_MODE = 'solid';
21
21
  const DEFAULT_OTPINPUT_LENGTH = 4;
22
+ /**
23
+ * Represents the Kendo UI OTP Input component for Angular.
24
+ *
25
+ * Use the OTP Input to enter one-time passwords or verification codes.
26
+ *
27
+ * @example
28
+ * ```html
29
+ * <kendo-otpinput type="number" [(ngModel)]="otpValue"></kendo-otpinput>
30
+ * ```
31
+ *
32
+ * @remarks
33
+ * Supported children components are: {@link OTPInputCustomMessagesComponent}.
34
+ */
22
35
  export class OTPInputComponent {
23
36
  hostElement;
24
37
  cdr;
@@ -27,7 +40,7 @@ export class OTPInputComponent {
27
40
  localizationService;
28
41
  zone;
29
42
  /**
30
- * Configures the total number of input fields.
43
+ * Sets the total number of input fields.
31
44
  *
32
45
  * @default 4
33
46
  */
@@ -42,46 +55,40 @@ export class OTPInputComponent {
42
55
  return this._length;
43
56
  }
44
57
  /**
45
- * Configures the input type.
58
+ * Sets the input type.
46
59
  *
47
- * * The possible values are:
48
- * * `text` (default)
49
- * * `number`
50
- * * `password`
51
60
  *
52
61
  * @default 'text'
53
62
  */
54
63
  type = 'text';
55
64
  /**
56
- * Configures whether the input fields are separate or adjacent to each other.
65
+ * Sets whether the input fields are separate or adjacent.
57
66
  *
58
67
  * @default true
59
68
  */
60
69
  spacing = true;
61
70
  /**
62
- * Specifies the separator between groups of input fields.
63
- *
64
- * > The configuration can only be applied when `groupLength` is set.
71
+ * Sets the separator between groups of input fields. You can use this only when `groupLength` is set.
65
72
  */
66
73
  separator;
67
74
  /**
68
- * Configures whether the component is enabled or disabled.
75
+ * When `true`, disables the OTPInput.
69
76
  *
70
77
  * @default false
71
78
  */
72
79
  disabled = false;
73
80
  /**
74
- * Configures whether the component is readonly.
81
+ * When `true`, sets the OTPInput to read-only mode.
75
82
  *
76
83
  * @default false
77
84
  */
78
85
  readonly = false;
79
86
  /**
80
- * Configures the placeholder of the input fields.
87
+ * Sets the placeholder for the input fields.
81
88
  */
82
89
  placeholder;
83
90
  /**
84
- * Configures the length of the groups. If `groupLength` is a number, all groups will have the same length. If it's an array, each group can have a different length.
91
+ * Sets the length of the groups. If you set a number, all groups have the same length. If you set an array, each group can have a different length.
85
92
  */
86
93
  get groupLength() {
87
94
  return this._groupLength;
@@ -110,7 +117,7 @@ export class OTPInputComponent {
110
117
  this.populateSeparatorPositions();
111
118
  }
112
119
  /**
113
- * Configures the value of the component. Unfilled input fields are represented with space.
120
+ * Sets the value of the component. Unfilled input fields are represented with а space.
114
121
  */
115
122
  get value() {
116
123
  return this._value;
@@ -138,13 +145,9 @@ export class OTPInputComponent {
138
145
  }
139
146
  }
140
147
  /**
141
- * The `size` property specifies the padding of the input fields.
148
+ * Sets the padding of the input fields.
142
149
  *
143
- * The possible values are:
144
- * * `small`
145
- * * `medium` (default)
146
- * * `large`
147
- * * `none`
150
+ * @default 'medium'
148
151
  */
149
152
  set size(size) {
150
153
  const newSize = size || DEFAULT_SIZE;
@@ -157,14 +160,9 @@ export class OTPInputComponent {
157
160
  return this._size;
158
161
  }
159
162
  /**
160
- * The `rounded` property specifies the border radius of the OTP Input.
163
+ * Sets the border radius of the OTP Input.
161
164
  *
162
- * The possible values are:
163
- * * `small`
164
- * * `medium` (default)
165
- * * `large`
166
- * * `full`
167
- * * `none`
165
+ * @default 'medium'
168
166
  */
169
167
  set rounded(rounded) {
170
168
  this._rounded = rounded || DEFAULT_ROUNDED;
@@ -173,13 +171,9 @@ export class OTPInputComponent {
173
171
  return this._rounded;
174
172
  }
175
173
  /**
176
- * The `fillMode` property specifies the background and border styles of the OTP Input.
174
+ * Sets the background and border styles of the OTP Input.
177
175
  *
178
- * The possible values are:
179
- * * `flat`
180
- * * `solid` (default)
181
- * * `outline`
182
- * * `none`
176
+ * @default 'solid'
183
177
  */
184
178
  set fillMode(fillMode) {
185
179
  const newFillMode = fillMode || DEFAULT_FILL_MODE;
@@ -190,7 +184,7 @@ export class OTPInputComponent {
190
184
  return this._fillMode;
191
185
  }
192
186
  /**
193
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
187
+ * Sets the HTML attributes of the inner input element. You cannot change attributes that are required for the component to work.
194
188
  */
195
189
  set inputAttributes(attributes) {
196
190
  this._inputAttributes = attributes;
@@ -203,18 +197,17 @@ export class OTPInputComponent {
203
197
  return this._inputAttributes;
204
198
  }
205
199
  /**
206
- * Fires each time the value is changed by the user&mdash;
207
- * When the value of the component is programmatically changed to `ngModel` or `formControl`
208
- * through its API or form binding, the `valueChange` event is not triggered because it
209
- * might cause a mix-up with the built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
200
+ * Fires when the user changes the value.
201
+ *
202
+ * This event does not fire when you change the value programmatically or through form bindings.
210
203
  */
211
204
  valueChange = new EventEmitter();
212
205
  /**
213
- * Fires each time the user focuses the OTP Input.
206
+ * Fires when the user focuses the OTP Input.
214
207
  */
215
208
  onFocus = new EventEmitter();
216
209
  /**
217
- * Fires each time the user blurs the OTP Input.
210
+ * Fires when the user blurs the OTP Input.
218
211
  */
219
212
  onBlur = new EventEmitter();
220
213
  wrapperClass = true;
@@ -384,6 +377,8 @@ export class OTPInputComponent {
384
377
  }
385
378
  }
386
379
  /**
380
+ * Returns `true` if the component has groups.
381
+ *
387
382
  * @hidden
388
383
  */
389
384
  get hasGroups() {
@@ -483,7 +478,9 @@ export class OTPInputComponent {
483
478
  });
484
479
  }
485
480
  /**
486
- * Focuses the OTP Input.
481
+ * Focuses the OTP Input at the specified index provided as an argument.
482
+ *
483
+ * @param index The index of the input to focus.
487
484
  */
488
485
  focus(index) {
489
486
  if (!this.inputFields || index < 0 || index >= this.length) {
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1749196595,
14
- version: '19.1.1-develop.2',
13
+ publishDate: 1749540069,
14
+ version: '19.1.1',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -13,6 +13,18 @@ import { RadioCheckBoxBase } from '../common/radio-checkbox.base';
13
13
  import { SharedInputEventsDirective } from '../shared/shared-events.directive';
14
14
  import * as i0 from "@angular/core";
15
15
  import * as i1 from "@progress/kendo-angular-l10n";
16
+ /**
17
+ * Represents the Kendo UI RadioButton component.
18
+ * Use this component to create a styled radio button in your Angular application.
19
+ *
20
+ * @example
21
+ * ```html
22
+ * <kendo-radiobutton
23
+ * [checked]="true"
24
+ * (checkedChange)="onCheckedChange($event)">
25
+ * </kendo-radiobutton>
26
+ * ```
27
+ */
16
28
  export class RadioButtonComponent extends RadioCheckBoxBase {
17
29
  renderer;
18
30
  hostElement;
@@ -29,12 +41,9 @@ export class RadioButtonComponent extends RadioCheckBoxBase {
29
41
  */
30
42
  checked = false;
31
43
  /**
32
- * Fires each time the checked state is changed.
33
- * When the state of the component is programmatically changed to `ngModel` or `formControl`
34
- * through its API or form binding, the `checkedStateChange` event is not triggered because it
35
- * might cause a mix-up with the built-in mechanisms of the `ngModel` or `formControl` bindings.
36
- *
37
- * Used to provide a two-way binding for the `checked` property.
44
+ * Fires when the checked state changes.
45
+ * The event does not fire when you change the state through `ngModel` or `formControl` bindings.
46
+ * Use this event for two-way binding of the `checked` property.
38
47
  */
39
48
  checkedChange = new EventEmitter();
40
49
  subs = new Subscription();
@@ -9,11 +9,11 @@ import { packageMetadata } from '../package-metadata';
9
9
  import * as i0 from "@angular/core";
10
10
  const DEFAULT_SIZE = 'medium';
11
11
  /**
12
- * Represents the directive that renders the [Kendo UI RadioButton]({% slug overview_checkbox %}) input component.
13
- * The directive is placed on input type="radio" elements.
12
+ * Represents the directive that renders the Kendo UI RadioButton input component.
13
+ * Place the directive on `input type="radio"` HTML elements.
14
14
  *
15
15
  * @example
16
- * ```ts-no-run
16
+ * ```html
17
17
  * <input type="radio" kendoRadioButton />
18
18
  * ```
19
19
  */
@@ -22,13 +22,9 @@ export class RadioButtonDirective {
22
22
  hostElement;
23
23
  kendoClass = true;
24
24
  /**
25
- * The size property specifies the width and height of the RadioButton
26
- * ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
27
- * The possible values are:
28
- * * `small`
29
- * * `medium` (default)
30
- * * `large`
31
- * * `none`
25
+ * Specifies the `size` of the RadioButton. The `size` property changes the width and height of the RadioButton ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
26
+ *
27
+ * @default "medium"
32
28
  */
33
29
  set size(size) {
34
30
  const newSize = size ? size : DEFAULT_SIZE;
@@ -9,34 +9,24 @@ import * as i1 from "./radiobutton/radiobutton.component";
9
9
  import * as i2 from "./radiobutton/radiobutton.directive";
10
10
  //IMPORTANT: NgModule export kept for backwards compatibility
11
11
  /**
12
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
- * definition for the RadioButton directive and RadioButtonComponent.
12
+ * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the RadioButton directive and RadioButton component.
13
+ *
14
+ * Use this module to add the RadioButton directive and component to your NgModule-based Angular application.
14
15
  *
15
16
  * @example
16
17
  *
17
- * ```ts-no-run
18
- * // Import the RadioButton module
18
+ * ```typescript
19
19
  * import { RadioButtonModule } from '@progress/kendo-angular-inputs';
20
- *
21
- * // The browser platform with a compiler
22
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
23
- *
24
20
  * import { NgModule } from '@angular/core';
25
- *
26
- * // Import the app component
21
+ * import { BrowserModule } from '@angular/platform-browser';
27
22
  * import { AppComponent } from './app.component';
28
23
  *
29
- * // Define the app module
30
- * _@NgModule({
31
- * declarations: [AppComponent], // declare app component
32
- * imports: [BrowserModule, RadioButtonModule], // import RadioButton module
24
+ * @NgModule({
25
+ * declarations: [AppComponent],
26
+ * imports: [BrowserModule, RadioButtonModule],
33
27
  * bootstrap: [AppComponent]
34
28
  * })
35
29
  * export class AppModule {}
36
- *
37
- * // Compile and launch the module
38
- * platformBrowserDynamic().bootstrapModule(AppModule);
39
- *
40
30
  * ```
41
31
  */
42
32
  export class RadioButtonModule {
@@ -8,7 +8,17 @@ import { RangeSliderMessages } from './messages';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-l10n";
10
10
  /**
11
- * Custom component messages override default component messages.
11
+ * Lets you override the default messages of the RangeSlider component.
12
+ *
13
+ * @example
14
+ *
15
+ * ```html
16
+ * <kendo-rangeslider-messages
17
+ * decreaseHandle="Decrease handle"
18
+ * increaseHandle="Increase handle"
19
+ * decreaseRange="Decrease range">
20
+ * </kendo-rangeslider-messages>
21
+ * ```
12
22
  */
13
23
  export class RangeSliderCustomMessagesComponent extends RangeSliderMessages {
14
24
  service;
@@ -20,7 +20,16 @@ import * as i0 from "@angular/core";
20
20
  import * as i1 from "@progress/kendo-angular-l10n";
21
21
  const PRESSED = 'k-pressed';
22
22
  /**
23
- * Represents the [Kendo UI RangeSlider component for Angular]({% slug overview_rangeslider %}).
23
+ * Represents the Kendo UI RangeSlider component for Angular.
24
+ * Use this component to let users select a range of values.
25
+ *
26
+ * @example
27
+ * ```html
28
+ * <kendo-rangeslider [value]="[10, 50]" [min]="0" [max]="100"></kendo-rangeslider>
29
+ * ```
30
+ *
31
+ * @remarks
32
+ * Supported children components are: {@link RangeSliderCustomMessagesComponent}.
24
33
  */
25
34
  export class RangeSliderComponent extends SliderBase {
26
35
  localization;
@@ -31,7 +40,7 @@ export class RangeSliderComponent extends SliderBase {
31
40
  hostElement;
32
41
  /**
33
42
  * Sets the range value of the RangeSlider.
34
- * The component can use either NgModel or the `value` binding but not both of them at the same time.
43
+ * Use either `ngModel` or the `value` binding, but not both at the same time.
35
44
  */
36
45
  value;
37
46
  draghandleStart;
@@ -65,19 +74,6 @@ export class RangeSliderComponent extends SliderBase {
65
74
  /**
66
75
  * Focuses the RangeSlider.
67
76
  *
68
- * @example
69
- * ```ts-no-run
70
- * _@Component({
71
- * selector: 'my-app',
72
- * template: `
73
- * <div>
74
- * <button class="k-button" (click)="slider.focus()">Focus</button>
75
- * </div>
76
- * <kendo-rangeslider #slider></kendo-rangeslider>
77
- * `
78
- * })
79
- * class AppComponent { }
80
- * ```
81
77
  */
82
78
  focus() {
83
79
  this.focusChangedProgrammatically = true;
@@ -85,7 +81,7 @@ export class RangeSliderComponent extends SliderBase {
85
81
  this.focusChangedProgrammatically = false;
86
82
  }
87
83
  /**
88
- * Blurs the RangeSlider.
84
+ * Removes focus from the RangeSlider.
89
85
  */
90
86
  blur() {
91
87
  this.focusChangedProgrammatically = true;
@@ -11,35 +11,24 @@ import * as i2 from "./rangeslider/localization/custom-messages.component";
11
11
  import * as i3 from "./sliders-common/label-template.directive";
12
12
  //IMPORTANT: NgModule export kept for backwards compatibility
13
13
  /**
14
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
- * definition for the RangeSlider component.
14
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the RangeSlider component.
15
+ *
16
+ * Use this module to add the RangeSlider component to your NgModule-based Angular application.
16
17
  *
17
18
  * @example
18
19
  *
19
- * ```ts-no-run
20
- * // Import the Inputs module
20
+ * ```typescript
21
21
  * import { RangeSliderModule } from '@progress/kendo-angular-inputs';
22
- *
23
- * // The browser platform with a compiler
24
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
25
22
  * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
26
- *
27
23
  * import { NgModule } from '@angular/core';
28
- *
29
- * // Import the app component
30
24
  * import { AppComponent } from './app.component';
31
25
  *
32
- * // Define the app module
33
- * _@NgModule({
34
- * declarations: [AppComponent], // declare app component
35
- * imports: [BrowserModule, BrowserAnimationsModule, RangeSliderModule], // import RangeSlider module
26
+ * @NgModule({
27
+ * declarations: [AppComponent],
28
+ * imports: [BrowserModule, BrowserAnimationsModule, RangeSliderModule],
36
29
  * bootstrap: [AppComponent]
37
30
  * })
38
31
  * export class AppModule {}
39
- *
40
- * // Compile and launch the module
41
- * platformBrowserDynamic().bootstrapModule(AppModule);
42
- *
43
32
  * ```
44
33
  */
45
34
  export class RangeSliderModule {
@@ -5,10 +5,18 @@
5
5
  import { Directive, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Renders the hovered rating item content. To define an item template, nest an `<ng-template>` tag
9
- * with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag
10
- * [see example](slug:templates_rating).
8
+ * Renders the hovered rating item content.
9
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
10
+ *
11
11
  * The index of the currently hovered item is available as an implicit context using the `let-index="index"` syntax.
12
+ * * @example
13
+ * ```html
14
+ * <kendo-rating [value]="ratingValue">
15
+ * <ng-template kendoRatingHoveredItemTemplate let-index="index">
16
+ * <span>Hovered item: {{ index }}</span>
17
+ * </ng-template>
18
+ * </kendo-rating>
19
+ * ```
12
20
  */
13
21
  export class RatingHoveredItemTemplateDirective {
14
22
  templateRef;
@@ -5,10 +5,17 @@
5
5
  import { Directive, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Renders the rating item content. To define an item template, nest an `<ng-template>` tag
9
- * with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag
10
- * [see example](slug:templates_rating).
8
+ * Renders the rating item content.
9
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
11
10
  * The index of the current item is available as an implicit context using the `let-index="index"` syntax.
11
+ * * @example
12
+ * ```html
13
+ * <kendo-rating [value]="ratingValue">
14
+ * <ng-template kendoRatingItemTemplate let-index="index">
15
+ * <span>Item: {{ index }}</span>
16
+ * </ng-template>
17
+ * </kendo-rating>
18
+ * ```
12
19
  */
13
20
  export class RatingItemTemplateDirective {
14
21
  templateRef;
@@ -5,10 +5,19 @@
5
5
  import { Directive, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Renders the selected rating item content. To define an item template, nest an `<ng-template>` tag
9
- * with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag
10
- * [see example](slug:templates_rating).
8
+ * Renders the selected rating item content.
9
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
10
+ *
11
11
  * The index of the currently selected item is available as an implicit context using the `let-index="index"` syntax.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-rating [value]="ratingValue">
16
+ * <ng-template kendoRatingSelectedItemTemplate let-index="index">
17
+ * <span>Selected item: {{ index }}</span>
18
+ * </ng-template>
19
+ * </kendo-rating>
20
+ * ```
12
21
  */
13
22
  export class RatingSelectedItemTemplateDirective {
14
23
  templateRef;