@progress/kendo-angular-inputs 19.1.1-develop.2 → 19.1.2-develop.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
@@ -44,7 +44,18 @@ import { TextBoxDirective } from "./textbox/textbox.directive";
44
44
  import { OTPInputComponent } from "./otpinput/otpinput.component";
45
45
  import { OTPInputCustomMessagesComponent } from "./otpinput/localization/custom-messages.component";
46
46
  /**
47
- * Utility array that contains all `TextBox` related components and directives
47
+ * Use the `KENDO_TEXTBOX` utility array to add all TextBox-related components and directives to a standalone Angular component.
48
+ *
49
+ * @example
50
+ * ```typescript
51
+ * import { KENDO_TEXTBOX } from '@progress/kendo-angular-inputs';
52
+ * @Component({
53
+ * standalone: true,
54
+ * imports: [KENDO_TEXTBOX],
55
+ * template: `<kendo-textbox></kendo-textbox>`
56
+ * })
57
+ * export class MyComponent {}
58
+ * ```
48
59
  */
49
60
  export const KENDO_TEXTBOX = [
50
61
  TextBoxDirective,
@@ -58,7 +69,18 @@ export const KENDO_TEXTBOX = [
58
69
  SeparatorComponent
59
70
  ];
60
71
  /**
61
- * Utility array that contains all `NumericTextBox` related components and directives
72
+ * Use the `KENDO_NUMERICTEXTBOX` utility array to add all NumericTextBox-related components and directives to a standalone Angular component.
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * import { KENDO_NUMERICTEXTBOX } from '@progress/kendo-angular-inputs';
77
+ * @Component({
78
+ * standalone: true,
79
+ * imports: [KENDO_NUMERICTEXTBOX],
80
+ * template: `<kendo-numerictextbox></kendo-numerictextbox>`
81
+ * })
82
+ * export class MyComponent {}
83
+ * ```
62
84
  */
63
85
  export const KENDO_NUMERICTEXTBOX = [
64
86
  NumericTextBoxComponent,
@@ -68,7 +90,18 @@ export const KENDO_NUMERICTEXTBOX = [
68
90
  SeparatorComponent
69
91
  ];
70
92
  /**
71
- * Utility array that contains all `MaskedTextBox` related components and directives
93
+ * Use the `KENDO_MASKEDTEXTBOX` utility array to add all MaskedTextBox-related components and directives to a standalone Angular component.
94
+ *
95
+ * @example
96
+ * ```typescript
97
+ * import { KENDO_MASKEDTEXTBOX } from '@progress/kendo-angular-inputs';
98
+ * @Component({
99
+ * standalone: true,
100
+ * imports: [KENDO_MASKEDTEXTBOX],
101
+ * template: `<kendo-maskedtextbox></kendo-maskedtextbox>`
102
+ * })
103
+ * export class MyComponent {}
104
+ * ```
72
105
  */
73
106
  export const KENDO_MASKEDTEXTBOX = [
74
107
  MaskedTextBoxComponent,
@@ -77,14 +110,36 @@ export const KENDO_MASKEDTEXTBOX = [
77
110
  SeparatorComponent
78
111
  ];
79
112
  /**
80
- * Utility array that contains all `OTP` related components and directives
113
+ * Use the `KENDO_OTPINPUT` utility array to add all OTPInput-related components and directives to a standalone Angular component.
114
+ *
115
+ * @example
116
+ * ```typescript
117
+ * import { KENDO_OTPINPUT } from '@progress/kendo-angular-inputs';
118
+ * @Component({
119
+ * standalone: true,
120
+ * imports: [KENDO_OTPINPUT],
121
+ * template: `<kendo-otpinput></kendo-otpinput>`
122
+ * })
123
+ * export class MyComponent {}
124
+ * ```
81
125
  */
82
126
  export const KENDO_OTPINPUT = [
83
127
  OTPInputComponent,
84
128
  OTPInputCustomMessagesComponent
85
129
  ];
86
130
  /**
87
- * Utility array that contains all `TextArea` related components and directives
131
+ * Use the `KENDO_TEXTAREA` utility array to add all TextArea-related components and directives to a standalone Angular component.
132
+ *
133
+ * @example
134
+ * ```typescript
135
+ * import { KENDO_TEXTAREA } from '@progress/kendo-angular-inputs';
136
+ * @Component({
137
+ * standalone: true,
138
+ * imports: [KENDO_TEXTAREA],
139
+ * template: `<kendo-textarea></kendo-textarea>`
140
+ * })
141
+ * export class MyComponent {}
142
+ * ```
88
143
  */
89
144
  export const KENDO_TEXTAREA = [
90
145
  TextAreaComponent,
@@ -94,28 +149,72 @@ export const KENDO_TEXTAREA = [
94
149
  SeparatorComponent
95
150
  ];
96
151
  /**
97
- * Utility array that contains all `CheckBox` related components and directives
152
+ * Use the `KENDO_CHECKBOX` utility array to add all CheckBox-related components and directives to a standalone Angular component.
153
+ *
154
+ * @example
155
+ * ```typescript
156
+ * import { KENDO_CHECKBOX } from '@progress/kendo-angular-inputs';
157
+ * @Component({
158
+ * standalone: true,
159
+ * imports: [KENDO_CHECKBOX],
160
+ * template: `<kendo-checkbox></kendo-checkbox>`
161
+ * })
162
+ * export class MyComponent {}
163
+ * ```
98
164
  */
99
165
  export const KENDO_CHECKBOX = [
100
166
  CheckBoxComponent,
101
167
  CheckBoxDirective
102
168
  ];
103
169
  /**
104
- * Utility array that contains all `RadioButton` related components and directives
170
+ * Use the `KENDO_RADIOBUTTON` utility array to add all RadioButton-related components and directives to a standalone Angular component.
171
+ *
172
+ * @example
173
+ * ```typescript
174
+ * import { KENDO_RADIOBUTTON } from '@progress/kendo-angular-inputs';
175
+ * @Component({
176
+ * standalone: true,
177
+ * imports: [KENDO_RADIOBUTTON],
178
+ * template: `<kendo-radiobutton></kendo-radiobutton>`
179
+ * })
180
+ * export class MyComponent {}
181
+ * ```
105
182
  */
106
183
  export const KENDO_RADIOBUTTON = [
107
184
  RadioButtonComponent,
108
185
  RadioButtonDirective
109
186
  ];
110
187
  /**
111
- * Utility array that contains all `Switch` related components and directives
188
+ * Use the `KENDO_SWITCH` utility array to add all Switch-related components and directives to a standalone Angular component.
189
+ *
190
+ * @example
191
+ * ```typescript
192
+ * import { KENDO_SWITCH } from '@progress/kendo-angular-inputs';
193
+ * @Component({
194
+ * standalone: true,
195
+ * imports: [KENDO_SWITCH],
196
+ * template: `<kendo-switch></kendo-switch>`
197
+ * })
198
+ * export class MyComponent {}
199
+ * ```
112
200
  */
113
201
  export const KENDO_SWITCH = [
114
202
  SwitchComponent,
115
203
  SwitchCustomMessagesComponent
116
204
  ];
117
205
  /**
118
- * Utility array that contains all `FormField` related components and directives
206
+ * Use the `KENDO_FORMFIELD` utility array to add all FormField-related components and directives to a standalone Angular component.
207
+ *
208
+ * @example
209
+ * ```typescript
210
+ * import { KENDO_FORMFIELD } from '@progress/kendo-angular-inputs';
211
+ * @Component({
212
+ * standalone: true,
213
+ * imports: [KENDO_FORMFIELD],
214
+ * template: `<kendo-formfield></kendo-formfield>`
215
+ * })
216
+ * export class MyComponent {}
217
+ * ```
119
218
  */
120
219
  export const KENDO_FORMFIELD = [
121
220
  FormFieldComponent,
@@ -123,7 +222,18 @@ export const KENDO_FORMFIELD = [
123
222
  ErrorComponent
124
223
  ];
125
224
  /**
126
- * Utility array that contains all `Slider` related components and directives
225
+ * Use the `KENDO_SLIDER` utility array to add all Slider-related components and directives to a standalone Angular component.
226
+ *
227
+ * @example
228
+ * ```typescript
229
+ * import { KENDO_SLIDER } from '@progress/kendo-angular-inputs';
230
+ * @Component({
231
+ * standalone: true,
232
+ * imports: [KENDO_SLIDER],
233
+ * template: `<kendo-slider></kendo-slider>`
234
+ * })
235
+ * export class MyComponent {}
236
+ * ```
127
237
  */
128
238
  export const KENDO_SLIDER = [
129
239
  SliderComponent,
@@ -131,7 +241,18 @@ export const KENDO_SLIDER = [
131
241
  LabelTemplateDirective,
132
242
  ];
133
243
  /**
134
- * Utility array that contains all `RangeSlider` related components and directives
244
+ * Use the `KENDO_RANGESLIDER` utility array to add all RangeSlider-related components and directives to a standalone Angular component.
245
+ *
246
+ * @example
247
+ * ```typescript
248
+ * import { KENDO_RANGESLIDER } from '@progress/kendo-angular-inputs';
249
+ * @Component({
250
+ * standalone: true,
251
+ * imports: [KENDO_RANGESLIDER],
252
+ * template: `<kendo-rangeslider></kendo-rangeslider>`
253
+ * })
254
+ * export class MyComponent {}
255
+ * ```
135
256
  */
136
257
  export const KENDO_RANGESLIDER = [
137
258
  RangeSliderComponent,
@@ -139,7 +260,18 @@ export const KENDO_RANGESLIDER = [
139
260
  LabelTemplateDirective
140
261
  ];
141
262
  /**
142
- * Utility array that contains all `Rating` related components and directives
263
+ * Use the `KENDO_RATING` utility array to add all Rating-related components and directives to a standalone Angular component.
264
+ *
265
+ * @example
266
+ * ```typescript
267
+ * import { KENDO_RATING } from '@progress/kendo-angular-inputs';
268
+ * @Component({
269
+ * standalone: true,
270
+ * imports: [KENDO_RATING],
271
+ * template: `<kendo-rating></kendo-rating>`
272
+ * })
273
+ * export class MyComponent {}
274
+ * ```
143
275
  */
144
276
  export const KENDO_RATING = [
145
277
  RatingComponent,
@@ -148,42 +280,108 @@ export const KENDO_RATING = [
148
280
  RatingSelectedItemTemplateDirective
149
281
  ];
150
282
  /**
151
- * Utility array that contains all `Signature` related components and directives
283
+ * Use the `KENDO_SIGNATURE` utility array to add all Signature-related components and directives to a standalone Angular component.
284
+ *
285
+ * @example
286
+ * ```typescript
287
+ * import { KENDO_SIGNATURE } from '@progress/kendo-angular-inputs';
288
+ * @Component({
289
+ * standalone: true,
290
+ * imports: [KENDO_SIGNATURE],
291
+ * template: `<kendo-signature></kendo-signature>`
292
+ * })
293
+ * export class MyComponent {}
294
+ * ```
152
295
  */
153
296
  export const KENDO_SIGNATURE = [
154
297
  SignatureComponent,
155
298
  SignatureCustomMessagesComponent
156
299
  ];
157
300
  /**
158
- * Utility array that contains all `ColorPicker` related components and directives
301
+ * Use the `KENDO_COLORPICKER` utility array to add all ColorPicker-related components and directives to a standalone Angular component.
302
+ *
303
+ * @example
304
+ * ```typescript
305
+ * import { KENDO_COLORPICKER } from '@progress/kendo-angular-inputs';
306
+ * @Component({
307
+ * standalone: true,
308
+ * imports: [KENDO_COLORPICKER],
309
+ * template: `<kendo-colorpicker></kendo-colorpicker>`
310
+ * })
311
+ * export class MyComponent {}
312
+ * ```
159
313
  */
160
314
  export const KENDO_COLORPICKER = [
161
315
  ColorPickerComponent,
162
316
  ColorPickerCustomMessagesComponent
163
317
  ];
164
318
  /**
165
- * Utility array that contains all `FlatColorPicker` related components and directives
319
+ * Use the `KENDO_FLATCOLORPICKER` utility array to add all FlatColorPicker-related components and directives to a standalone Angular component.
320
+ *
321
+ * @example
322
+ * ```typescript
323
+ * import { KENDO_FLATCOLORPICKER } from '@progress/kendo-angular-inputs';
324
+ * @Component({
325
+ * standalone: true,
326
+ * imports: [KENDO_FLATCOLORPICKER],
327
+ * template: `<kendo-flatcolorpicker></kendo-flatcolorpicker>`
328
+ * })
329
+ * export class MyComponent {}
330
+ * ```
166
331
  */
167
332
  export const KENDO_FLATCOLORPICKER = [
168
333
  FlatColorPickerComponent,
169
334
  ColorPickerCustomMessagesComponent
170
335
  ];
171
336
  /**
172
- * Utility array that contains all `ColorPallete` related components and directives
337
+ * Use the `KENDO_COLORPALETTE` utility array to add all ColorPalette-related components and directives to a standalone Angular component.
338
+ *
339
+ * @example
340
+ * ```typescript
341
+ * import { KENDO_COLORPALETTE } from '@progress/kendo-angular-inputs';
342
+ * @Component({
343
+ * standalone: true,
344
+ * imports: [KENDO_COLORPALETTE],
345
+ * template: `<kendo-colorpalette></kendo-colorpalette>`
346
+ * })
347
+ * export class MyComponent {}
348
+ * ```
173
349
  */
174
350
  export const KENDO_COLORPALETTE = [
175
351
  ColorPaletteComponent,
176
352
  ColorPickerCustomMessagesComponent
177
353
  ];
178
354
  /**
179
- * Utility array that contains all `ColorGradient` related components and directives
355
+ * Use the `KENDO_COLORGRADIENT` utility array to add all ColorGradient-related components and directives to a standalone Angular component.
356
+ *
357
+ * @example
358
+ * ```typescript
359
+ * import { KENDO_COLORGRADIENT } from '@progress/kendo-angular-inputs';
360
+ * @Component({
361
+ * standalone: true,
362
+ * imports: [KENDO_COLORGRADIENT],
363
+ * template: `<kendo-colorgradient></kendo-colorgradient>`
364
+ * })
365
+ * export class MyComponent {}
366
+ * ```
180
367
  */
181
368
  export const KENDO_COLORGRADIENT = [
182
369
  ColorGradientComponent,
183
370
  ColorPickerCustomMessagesComponent
184
371
  ];
185
372
  /**
186
- * Utility array that contains all `@progress/kendo-angular-inputs` related components and directives
373
+ * Use the `KENDO_INPUTS` utility array to add all `@progress/kendo-angular-inputs`-related components and directives to a standalone Angular component.
374
+ *
375
+ * @example
376
+ * ```typescript
377
+ * import { KENDO_INPUTS } from '@progress/kendo-angular-inputs';
378
+ * @Component({
379
+ * standalone: true,
380
+ * imports: [KENDO_INPUTS],
381
+ * template: `<kendo-textbox></kendo-textbox>`
382
+ * })
383
+ * export class MyComponent {}
384
+ * ```
187
385
  */
188
386
  export const KENDO_INPUTS = [
189
387
  ...KENDO_TEXTBOX,
@@ -6,17 +6,20 @@ import { Component, HostBinding, Input } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  let serial = 0;
8
8
  /**
9
- * Represents an error message that will be shown underneath
10
- * a Kendo control or native HTML form-bound component after a validation.
9
+ * Represents the Kendo UI FormError component.
10
+ * Displays an error message under a Kendo Angular component or native HTML form-bound component after validation.
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-formerror>Error message here</kendo-formerror>
15
+ * ```
11
16
  */
12
17
  export class ErrorComponent {
13
18
  hostClass = true;
14
19
  /**
15
- * Specifies the alignment of the Error message.
20
+ * Sets the alignment of the error message.
16
21
  *
17
- * The possible values are:
18
- * * (Default) `start`
19
- * * `end`
22
+ * @default 'start'
20
23
  */
21
24
  align = 'start';
22
25
  /**
@@ -15,8 +15,22 @@ import { NgIf } from '@angular/common';
15
15
  import * as i0 from "@angular/core";
16
16
  import * as i1 from "@progress/kendo-angular-l10n";
17
17
  /**
18
- * Specifies a container for form-bound controls (Kendo controls or native HTML controls).
18
+ * Represents the Kendo UI FormField component for Angular.
19
+ * Use this component to group form-bound controls (Kendo Angular components or native HTML controls).
19
20
  * Applies styling and behavior rules.
21
+ *
22
+ * @example
23
+ * ```html
24
+ * <kendo-formfield>
25
+ * <kendo-label [for]="firstName"text="First Name"></kendo-label>
26
+ * <kendo-textbox formControlName="firstName" #firstName></kendo-textbox>
27
+ * <kendo-formhint>Enter your name.</kendo-formhint>
28
+ * <kendo-formerror>First name is required.</kendo-formerror>
29
+ * </kendo-formfield>
30
+ * ```
31
+ *
32
+ * @remarks
33
+ * Supported children components are: {@link ErrorComponent}, {@link HintComponent}, {@link TextBoxComponent}, {@link NumericTextBoxComponent}, {@link MaskedTextBoxComponent}, {@link TextAreaComponent}, {@link DatePickerComponent}, {@link DateTimePickerComponent}, {@link DateInputComponent}, {@link OTPInputComponent}.
20
34
  */
21
35
  export class FormFieldComponent {
22
36
  renderer;
@@ -54,35 +68,25 @@ export class FormFieldComponent {
54
68
  errorChildren;
55
69
  hintChildren;
56
70
  /**
71
+ * Specifies when to show the hint messages:
72
+ * * `initial`&mdash;Shows hints when the form control is `valid` or `untouched` and `pristine`.
73
+ * * `always`&mdash;Always shows hints.
57
74
  *
58
- * Specifies when the Hint messages will be shown.
59
- *
60
- * The possible values are:
61
- *
62
- * * (Default) `initial`&mdash;Allows displaying hints when the form-bound component state is
63
- * `valid` or `untouched` and `pristine`.
64
- * * `always`&mdash;Allows full control over the visibility of the hints.
65
- *
75
+ * @default 'initial'
66
76
  */
67
77
  showHints = 'initial';
68
78
  /**
69
79
  * Specifies the layout orientation of the form field.
70
80
  *
71
- * * The possible values are:
72
- *
73
- * * (Default) `vertical`
74
- * * `horizontal`
81
+ * @default 'vertical'
75
82
  */
76
83
  orientation = 'vertical';
77
84
  /**
78
- * Specifies when the Error messages will be shown.
79
- *
80
- * The possible values are:
81
- *
82
- * * (Default) `initial`&mdash;Allows displaying errors when the form-bound component state is
83
- * `invalid` and `touched` or `dirty`.
84
- * * `always`&mdash;Allows full control over the visibility of the errors.
85
+ * Specifies when to show the error messages:
86
+ * * `initial`&mdash;Shows errors when the form control is `invalid` and `touched` or `dirty`.
87
+ * * `always`&mdash;Always shows errors.
85
88
  *
89
+ * @default 'initial'
86
90
  */
87
91
  showErrors = 'initial';
88
92
  /**
@@ -6,15 +6,18 @@ import { Component, HostBinding, Input } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  let serial = 0;
8
8
  /**
9
- * Represents a hint message that will be shown underneath a form-bound component.
9
+ * Displays a hint message under a form-bound component.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-formhint>Hint message here</kendo-formhint>
14
+ * ```
10
15
  */
11
16
  export class HintComponent {
12
17
  /**
13
- * Specifies the alignment of the Hint message.
18
+ * Sets the alignment of the hint message.
14
19
  *
15
- * The possible values are:
16
- * * (Default) `start`
17
- * * `end`
20
+ * @default 'start'
18
21
  */
19
22
  align = 'start';
20
23
  /**
@@ -10,34 +10,23 @@ import * as i2 from "./formfield/hint.component";
10
10
  import * as i3 from "./formfield/error.component";
11
11
  //IMPORTANT: NgModule export kept for backwards compatibility
12
12
  /**
13
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
- * definition for the FormField, Error and Hint components.
13
+ * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the FormField, Error, and Hint components.
15
14
  *
16
- * @example
15
+ * Use this module to add FormField, Error, and Hint features to your NgModule-based Angular application.
17
16
  *
18
- * ```ts-no-run
19
- * // Import the FormField module
17
+ * @example
18
+ * ```typescript
20
19
  * import { FormFieldModule } from '@progress/kendo-angular-inputs';
21
- *
22
- * // The browser platform with a compiler
23
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
24
- *
25
20
  * import { NgModule } from '@angular/core';
26
- *
27
- * // Import the app component
21
+ * import { BrowserModule } from '@angular/platform-browser';
28
22
  * import { AppComponent } from './app.component';
29
23
  *
30
- * // Define the app module
31
- * _@NgModule({
32
- * declarations: [AppComponent], // declare app component
33
- * imports: [BrowserModule, FormFieldModule], // import FormField module
34
- * bootstrap: [AppComponent]
24
+ * @NgModule({
25
+ * declarations: [AppComponent],
26
+ * imports: [BrowserModule, FormFieldModule],
27
+ * bootstrap: [AppComponent]
35
28
  * })
36
29
  * export class AppModule {}
37
- *
38
- * // Compile and launch the module
39
- * platformBrowserDynamic().bootstrapModule(AppModule);
40
- *
41
30
  * ```
42
31
  */
43
32
  export class FormFieldModule {
package/esm2022/index.mjs CHANGED
@@ -17,6 +17,7 @@ export { SliderTicksComponent } from './sliders-common/slider-ticks.component';
17
17
  export { SliderModule } from './slider.module';
18
18
  export { RangeSliderModule } from './rangeslider.module';
19
19
  export { SwitchModule } from './switch.module';
20
+ export { OTPInputModule } from './otp.module';
20
21
  export { NumericTextBoxModule } from './numerictextbox.module';
21
22
  export { MaskedTextBoxModule } from './maskedtextbox.module';
22
23
  export { TextBoxModule } from './textbox.module';
@@ -53,35 +53,23 @@ import * as i40 from "./otpinput/otpinput.component";
53
53
  import * as i41 from "./otpinput/localization/custom-messages.component";
54
54
  //IMPORTANT: NgModule export kept for backwards compatibility
55
55
  /**
56
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
57
- * definition for the Inputs components.
56
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Inputs components.
58
57
  *
59
- * @example
58
+ * Use this module to import all Kendo UI for Angular Inputs components at once in your NgModule-based Angular application.
60
59
  *
61
- * ```ts-no-run
62
- * // Import the Inputs module
60
+ * @example
61
+ * ```typescript
63
62
  * import { InputsModule } from '@progress/kendo-angular-inputs';
64
- *
65
- * // The browser platform with a compiler
66
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
67
- * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
68
- *
69
63
  * import { NgModule } from '@angular/core';
70
- *
71
- * // Import the app component
64
+ * import { BrowserModule } from '@angular/platform-browser';
72
65
  * import { AppComponent } from './app.component';
73
66
  *
74
- * // Define the app module
75
- * _@NgModule({
76
- * declarations: [AppComponent], // declare app component
77
- * imports: [BrowserModule, BrowserAnimationsModule, InputsModule], // import Inputs module
78
- * bootstrap: [AppComponent]
67
+ * @NgModule({
68
+ * declarations: [AppComponent],
69
+ * imports: [BrowserModule, InputsModule],
70
+ * bootstrap: [AppComponent]
79
71
  * })
80
72
  * export class AppModule {}
81
- *
82
- * // Compile and launch the module
83
- * platformBrowserDynamic().bootstrapModule(AppModule);
84
- *
85
73
  * ```
86
74
  */
87
75
  export class InputsModule {