@progress/kendo-angular-layout 19.1.2-develop.4 → 19.1.2-develop.6

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 (197) hide show
  1. package/avatar/avatar.component.d.ts +43 -47
  2. package/avatar/l10n/custom-messages.component.d.ts +9 -1
  3. package/avatar/l10n/messages.d.ts +1 -1
  4. package/avatar/models/fill.d.ts +1 -1
  5. package/avatar/models/rounded.d.ts +1 -1
  6. package/avatar/models/size.d.ts +1 -1
  7. package/avatar/models/theme-color.d.ts +1 -1
  8. package/avatar.module.d.ts +14 -2
  9. package/card/card-actions.component.d.ts +16 -15
  10. package/card/card-body.component.d.ts +9 -1
  11. package/card/card-footer.component.d.ts +9 -1
  12. package/card/card-header.component.d.ts +10 -1
  13. package/card/card.component.d.ts +19 -6
  14. package/card/directives/card-media.directive.d.ts +10 -1
  15. package/card/directives/card-separator.directive.d.ts +10 -4
  16. package/card/directives/card-subtitle.directive.d.ts +8 -1
  17. package/card/directives/card-title.directive.d.ts +8 -1
  18. package/card/models/actions-layout.d.ts +1 -8
  19. package/card/models/card-action.d.ts +4 -4
  20. package/card.module.d.ts +14 -2
  21. package/codemods/utils.js +0 -3
  22. package/common/orientation.d.ts +1 -1
  23. package/common/preventable-event.d.ts +3 -6
  24. package/directives.d.ts +13 -13
  25. package/drawer/drawer-container.component.d.ts +13 -1
  26. package/drawer/drawer-content.component.d.ts +9 -1
  27. package/drawer/drawer.component.d.ts +48 -47
  28. package/drawer/events/select-event.d.ts +5 -5
  29. package/drawer/models/drawer-animation.interface.d.ts +1 -2
  30. package/drawer/models/drawer-item-expand.interface.d.ts +1 -1
  31. package/drawer/models/drawer-item.interface.d.ts +15 -17
  32. package/drawer/models/mode.d.ts +4 -3
  33. package/drawer/models/position.d.ts +1 -6
  34. package/drawer/template-directives/drawer-template.directive.d.ts +18 -5
  35. package/drawer/template-directives/footer-template.directive.d.ts +11 -3
  36. package/drawer/template-directives/header-template.directive.d.ts +11 -3
  37. package/drawer/template-directives/item-template.directive.d.ts +19 -3
  38. package/drawer.module.d.ts +14 -2
  39. package/esm2022/avatar/avatar.component.mjs +43 -47
  40. package/esm2022/avatar/l10n/custom-messages.component.mjs +9 -1
  41. package/esm2022/avatar/l10n/messages.mjs +1 -1
  42. package/esm2022/avatar.module.mjs +14 -2
  43. package/esm2022/card/card-actions.component.mjs +16 -15
  44. package/esm2022/card/card-body.component.mjs +9 -1
  45. package/esm2022/card/card-footer.component.mjs +9 -1
  46. package/esm2022/card/card-header.component.mjs +10 -1
  47. package/esm2022/card/card.component.mjs +19 -6
  48. package/esm2022/card/directives/card-media.directive.mjs +10 -1
  49. package/esm2022/card/directives/card-separator.directive.mjs +10 -4
  50. package/esm2022/card/directives/card-subtitle.directive.mjs +8 -1
  51. package/esm2022/card/directives/card-title.directive.mjs +8 -1
  52. package/esm2022/card/models/card-action.mjs +4 -4
  53. package/esm2022/card.module.mjs +14 -2
  54. package/esm2022/common/preventable-event.mjs +3 -6
  55. package/esm2022/directives.mjs +13 -13
  56. package/esm2022/drawer/drawer-container.component.mjs +13 -1
  57. package/esm2022/drawer/drawer-content.component.mjs +9 -1
  58. package/esm2022/drawer/drawer.component.mjs +48 -47
  59. package/esm2022/drawer/events/select-event.mjs +5 -5
  60. package/esm2022/drawer/template-directives/drawer-template.directive.mjs +18 -5
  61. package/esm2022/drawer/template-directives/footer-template.directive.mjs +11 -3
  62. package/esm2022/drawer/template-directives/header-template.directive.mjs +11 -3
  63. package/esm2022/drawer/template-directives/item-template.directive.mjs +19 -3
  64. package/esm2022/drawer.module.mjs +14 -2
  65. package/esm2022/expansionpanel/events/action-event.mjs +2 -2
  66. package/esm2022/expansionpanel/expansionpanel-title.directive.mjs +12 -3
  67. package/esm2022/expansionpanel/expansionpanel.component.mjs +20 -27
  68. package/esm2022/expansionpanel.module.mjs +14 -2
  69. package/esm2022/gridlayout.module.mjs +14 -2
  70. package/esm2022/layout.module.mjs +10 -21
  71. package/esm2022/layouts/grid-layout.component.mjs +24 -17
  72. package/esm2022/layouts/gridlayout-item.component.mjs +16 -4
  73. package/esm2022/layouts/stack-layout.component.mjs +15 -6
  74. package/esm2022/package-metadata.mjs +2 -2
  75. package/esm2022/panelbar/events/collapse-event.mjs +2 -2
  76. package/esm2022/panelbar/events/expand-event.mjs +2 -2
  77. package/esm2022/panelbar/events/item-click-event.mjs +3 -3
  78. package/esm2022/panelbar/events/select-event.mjs +2 -2
  79. package/esm2022/panelbar/events/state-change-event.mjs +2 -2
  80. package/esm2022/panelbar/panelbar-content.directive.mjs +12 -1
  81. package/esm2022/panelbar/panelbar-expand-mode.mjs +3 -4
  82. package/esm2022/panelbar/panelbar-item-template.directive.mjs +12 -1
  83. package/esm2022/panelbar/panelbar-item-title.directive.mjs +12 -19
  84. package/esm2022/panelbar/panelbar-item.component.mjs +26 -11
  85. package/esm2022/panelbar/panelbar.component.mjs +40 -17
  86. package/esm2022/panelbar.module.mjs +13 -8
  87. package/esm2022/splitter/splitter-pane.component.mjs +40 -20
  88. package/esm2022/splitter/splitter.component.mjs +25 -41
  89. package/esm2022/splitter.module.mjs +13 -5
  90. package/esm2022/stacklayout.module.mjs +14 -2
  91. package/esm2022/stepper/events/activate-event.mjs +5 -5
  92. package/esm2022/stepper/localization/custom-messages.component.mjs +9 -1
  93. package/esm2022/stepper/localization/messages.mjs +1 -1
  94. package/esm2022/stepper/stepper.component.mjs +32 -39
  95. package/esm2022/stepper/stepper.service.mjs +4 -4
  96. package/esm2022/stepper/template-directives/indicator-template.directive.mjs +10 -1
  97. package/esm2022/stepper/template-directives/label-template.directive.mjs +10 -1
  98. package/esm2022/stepper/template-directives/step-template.directive.mjs +12 -1
  99. package/esm2022/stepper.module.mjs +14 -2
  100. package/esm2022/tabstrip/directives/tab-content.directive.mjs +12 -24
  101. package/esm2022/tabstrip/directives/tab-title.directive.mjs +10 -29
  102. package/esm2022/tabstrip/events/select-event.mjs +3 -1
  103. package/esm2022/tabstrip/events/tabclose-event.mjs +2 -1
  104. package/esm2022/tabstrip/events/tabscroll-event.mjs +2 -2
  105. package/esm2022/tabstrip/localization/custom-messages.component.mjs +11 -2
  106. package/esm2022/tabstrip/localization/messages.mjs +3 -3
  107. package/esm2022/tabstrip/models/tabstrip-tab.component.mjs +30 -17
  108. package/esm2022/tabstrip/tabstrip.component.mjs +49 -37
  109. package/esm2022/tabstrip.module.mjs +13 -7
  110. package/esm2022/tilelayout/reorder-event.mjs +3 -2
  111. package/esm2022/tilelayout/resize-event.mjs +3 -2
  112. package/esm2022/tilelayout/tilelayout-item-body.component.mjs +10 -1
  113. package/esm2022/tilelayout/tilelayout-item-header.component.mjs +12 -2
  114. package/esm2022/tilelayout/tilelayout-item.component.mjs +20 -10
  115. package/esm2022/tilelayout/tilelayout.component.mjs +31 -26
  116. package/esm2022/tilelayout.module.mjs +13 -7
  117. package/esm2022/timeline/templates/timeline-card-actions.directive.mjs +11 -2
  118. package/esm2022/timeline/templates/timeline-card-body.directive.mjs +11 -2
  119. package/esm2022/timeline/templates/timeline-card-header.directive.mjs +12 -2
  120. package/esm2022/timeline/timeline.component.mjs +3 -0
  121. package/esm2022/timeline.module.mjs +13 -4
  122. package/expansionpanel/events/action-event.d.ts +3 -3
  123. package/expansionpanel/expansionpanel-title.directive.d.ts +12 -3
  124. package/expansionpanel/expansionpanel.component.d.ts +20 -27
  125. package/expansionpanel.module.d.ts +14 -2
  126. package/fesm2022/progress-kendo-angular-layout.mjs +1072 -641
  127. package/gridlayout.module.d.ts +14 -2
  128. package/layout.module.d.ts +10 -21
  129. package/layouts/grid-layout.component.d.ts +24 -17
  130. package/layouts/gridlayout-item.component.d.ts +16 -4
  131. package/layouts/models/gridlayout-gap-settings.d.ts +3 -3
  132. package/layouts/models/gridlayout-row-col-size.d.ts +4 -4
  133. package/layouts/models/layout-align-settings.d.ts +3 -3
  134. package/layouts/models/layout-horizontal-align.d.ts +1 -1
  135. package/layouts/models/layout-vertical-align.d.ts +1 -1
  136. package/layouts/stack-layout.component.d.ts +15 -6
  137. package/package.json +9 -9
  138. package/panelbar/events/collapse-event.d.ts +2 -2
  139. package/panelbar/events/expand-event.d.ts +2 -2
  140. package/panelbar/events/item-click-event.d.ts +3 -3
  141. package/panelbar/events/select-event.d.ts +2 -2
  142. package/panelbar/events/state-change-event.d.ts +2 -2
  143. package/panelbar/panelbar-content.directive.d.ts +12 -1
  144. package/panelbar/panelbar-expand-mode.d.ts +3 -4
  145. package/panelbar/panelbar-item-model.d.ts +6 -6
  146. package/panelbar/panelbar-item-template.directive.d.ts +12 -1
  147. package/panelbar/panelbar-item-title.directive.d.ts +12 -19
  148. package/panelbar/panelbar-item.component.d.ts +24 -9
  149. package/panelbar/panelbar.component.d.ts +40 -17
  150. package/panelbar.module.d.ts +13 -8
  151. package/splitter/splitter-pane.component.d.ts +40 -20
  152. package/splitter/splitter.component.d.ts +24 -40
  153. package/splitter.module.d.ts +13 -5
  154. package/stacklayout.module.d.ts +14 -2
  155. package/stepper/events/activate-event.d.ts +5 -5
  156. package/stepper/localization/custom-messages.component.d.ts +9 -1
  157. package/stepper/localization/messages.d.ts +1 -1
  158. package/stepper/models/orientation.d.ts +1 -3
  159. package/stepper/models/step-predicate.d.ts +5 -6
  160. package/stepper/models/step-type.d.ts +1 -4
  161. package/stepper/models/stepper-step.interface.d.ts +12 -12
  162. package/stepper/stepper.component.d.ts +32 -39
  163. package/stepper/template-directives/indicator-template.directive.d.ts +10 -1
  164. package/stepper/template-directives/label-template.directive.d.ts +10 -1
  165. package/stepper/template-directives/step-template.directive.d.ts +12 -1
  166. package/stepper.module.d.ts +14 -2
  167. package/tabstrip/directives/tab-content.directive.d.ts +12 -24
  168. package/tabstrip/directives/tab-title.directive.d.ts +10 -29
  169. package/tabstrip/events/select-event.d.ts +3 -1
  170. package/tabstrip/events/tabclose-event.d.ts +2 -1
  171. package/tabstrip/events/tabscroll-event.d.ts +2 -2
  172. package/tabstrip/localization/custom-messages.component.d.ts +11 -2
  173. package/tabstrip/localization/messages.d.ts +3 -3
  174. package/tabstrip/models/scroll-buttons-visibility.d.ts +1 -1
  175. package/tabstrip/models/scrollable-settings.d.ts +17 -22
  176. package/tabstrip/models/size.d.ts +1 -1
  177. package/tabstrip/models/tab-alignment.d.ts +1 -1
  178. package/tabstrip/models/tab-position.d.ts +1 -1
  179. package/tabstrip/models/tabstrip-tab.component.d.ts +30 -17
  180. package/tabstrip/tabstrip.component.d.ts +41 -29
  181. package/tabstrip.module.d.ts +13 -7
  182. package/tilelayout/models/flowmode.type.d.ts +7 -8
  183. package/tilelayout/models/gap.interface.d.ts +3 -5
  184. package/tilelayout/reorder-event.d.ts +3 -2
  185. package/tilelayout/resize-event.d.ts +3 -2
  186. package/tilelayout/tilelayout-item-body.component.d.ts +10 -1
  187. package/tilelayout/tilelayout-item-header.component.d.ts +12 -2
  188. package/tilelayout/tilelayout-item.component.d.ts +20 -10
  189. package/tilelayout/tilelayout.component.d.ts +31 -26
  190. package/tilelayout.module.d.ts +13 -7
  191. package/timeline/events/navigation-direction.d.ts +6 -0
  192. package/timeline/models/anchor-target.d.ts +6 -0
  193. package/timeline/templates/timeline-card-actions.directive.d.ts +11 -2
  194. package/timeline/templates/timeline-card-body.directive.d.ts +11 -2
  195. package/timeline/templates/timeline-card-header.directive.d.ts +12 -2
  196. package/timeline/timeline.component.d.ts +3 -0
  197. package/timeline.module.d.ts +13 -4
@@ -26,6 +26,16 @@ const autoFlowClasses = {
26
26
  };
27
27
  /**
28
28
  * Represents the [Kendo UI TileLayout component for Angular]({% slug overview_tilelayout %})
29
+ *
30
+ * @example
31
+ * ```html
32
+ * <kendo-tilelayout [columns]="3" [gap]="10">
33
+ * <kendo-tilelayout-item>Content 1</kendo-tilelayout-item>
34
+ * <kendo-tilelayout-item>Content 2</kendo-tilelayout-item>
35
+ * </kendo-tilelayout>
36
+ * ```
37
+ * @remarks
38
+ * Supported children components are: {@link TileLayoutItemComponent}.
29
39
  */
30
40
  export class TileLayoutComponent {
31
41
  zone;
@@ -35,22 +45,22 @@ export class TileLayoutComponent {
35
45
  draggingService;
36
46
  navigationService;
37
47
  /**
38
- * Defines the number of columns ([see example](slug:tiles_tilelayout#size-and-position)).
48
+ * Specifies the number of columns ([see example](slug:tiles_tilelayout#size-and-position)).
39
49
  * @default 1
40
50
  */
41
51
  columns = 1;
42
52
  /**
43
- * Determines the width of the columns. Numeric values are treated as pixels ([see example](slug:tiles_tilelayout#size-and-position)).
53
+ * Sets the width of the columns.
54
+ * Use numeric values for pixels or string values for other CSS units ([see example](slug:tiles_tilelayout#size-and-position)).
44
55
  * @default '1fr'
45
56
  */
46
57
  columnWidth = '1fr';
47
58
  /**
48
- * The numeric values which determine the spacing in pixels between the layout items horizontally and vertically.
49
- * Properties:
50
- * * rows - the vertical spacing. Numeric values are treated as pixels. Defaults to `16`.
51
- * * columns - the horizontal spacing. Numeric values are treated as pixels. Defaults to `16`.
59
+ * Sets the spacing between layout items in pixels.
60
+ * Use an object with `rows` and `columns` properties to set different horizontal and vertical spacing.
61
+ * Use a single number to apply the same spacing to both directions.
52
62
  *
53
- * When bound to a single numeric value, it will be set to both `rows` and `columns` properties.
63
+ * @default { rows: 16, columns: 16 }
54
64
  */
55
65
  set gap(value) {
56
66
  this._gap = (typeof value === 'number') ? { rows: value, columns: value } : Object.assign(this._gap, value);
@@ -59,48 +69,42 @@ export class TileLayoutComponent {
59
69
  return this._gap;
60
70
  }
61
71
  /**
62
- * Determines whether the reordering functionality will be enabled ([see example]({% slug reordering_tilelayout %})).
72
+ * Enables or disables item reordering ([see example]({% slug reordering_tilelayout %})).
63
73
  * @default false
64
74
  */
65
75
  reorderable = false;
66
76
  /**
67
- * Determines whether the resizing functionality will be enabled ([see example]({% slug resizing_tilelayout %})).
77
+ * Enables or disables item resizing ([see example]({% slug resizing_tilelayout %})).
68
78
  * @default false
69
79
  */
70
80
  resizable = false;
71
81
  /**
72
- * Determines the height of the rows. Numeric values are treated as pixels ([see example](slug:tiles_tilelayout#size-and-position)).
82
+ * Sets the height of the rows.
83
+ * Use numeric values for pixels or string values for other CSS units ([see example](slug:tiles_tilelayout#size-and-position)).
73
84
  * @default '1fr'
74
85
  */
75
86
  rowHeight = '1fr';
76
87
  /**
77
- * Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
78
- * For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
79
88
  *
80
- * The possible values are:
81
- * * (Default) `column`
82
- * * `row`
83
- * * `row dense`
84
- * * `column dense`
85
- * * `none`
89
+ * Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
86
90
  *
91
+ * For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
92
+ * @default 'column'
87
93
  */
88
94
  autoFlow = 'column';
89
95
  /**
90
- * When the keyboard navigation is enabled, the user can use dedicated shortcuts to interact with the TileLayout.
91
- * By default, navigation is enabled. To disable it and include focusable TileLayout content as a part of the natural tab sequence of the page, set the property to `false`.
92
- *
96
+ * Enables or disables [keyboard navigation](slug:keyboard_navigation_tilelayout).
93
97
  * @default true
94
98
  */
95
99
  navigable = true;
96
100
  /**
97
- * Fires when the user completes the reordering of the item ([see example]({% slug reordering_tilelayout %})).
98
- * This event is preventable. If you cancel it, the item will not be reordered.
101
+ * Fires when item reordering is completed ([see example]({% slug reordering_tilelayout %})).
102
+ * You can prevent this event to cancel the reorder operation.
99
103
  */
100
104
  reorder = new EventEmitter();
101
105
  /**
102
- * Fires when the user completes the resizing of the item ([see example]({% slug resizing_tilelayout %})).
103
- * This event is preventable. If you cancel it, the item will not be resized.
106
+ * Fires when item resizing is completed ([see example]({% slug resizing_tilelayout %})).
107
+ * You can prevent this event to cancel the resize operation.
104
108
  */
105
109
  resize = new EventEmitter();
106
110
  hostClass = true;
@@ -122,7 +126,8 @@ export class TileLayoutComponent {
122
126
  return this.draggingService.order;
123
127
  }
124
128
  /**
125
- * A query list of all declared [TileLayoutItemComponent]({% slug api_layout_tilelayoutitemcomponent %}) items.
129
+ * Contains a query list of the `TileLayoutItemComponent` instances that are used in the TileLayout.
130
+ * This allows you to access the items programmatically and manipulate their properties or listen to their events.
126
131
  */
127
132
  items;
128
133
  hint;
@@ -11,14 +11,20 @@ import * as i3 from "./tilelayout/tilelayout-item.component";
11
11
  import * as i4 from "./tilelayout/tilelayout-item-header.component";
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 TileLayout component.
14
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the TileLayout component.
16
15
  *
17
- * The module registers:
18
- * - `TileLayoutComponent`&mdash;The `TileLayoutComponent` component class.
19
- * - `TileLayoutItemComponent`&mdash;The `TileLayoutItemComponent` component class.
20
- * - `TileLayoutItemHeaderComponent`&mdash;The `TileLayoutItemHeaderComponent` component class.
21
- * - `TileLayoutItemBodyComponent`&mdash;The `TileLayoutItemBodyComponent` component class.
16
+ * Use this module to add the TileLayout component to your NgModule-based Angular application.
17
+ *
18
+ * @example
19
+ * ```typescript
20
+ * import { TileLayoutModule } from '@progress/kendo-angular-layout';
21
+ * import { NgModule } from '@angular/core';
22
+ *
23
+ * @NgModule({
24
+ * imports: [TileLayoutModule]
25
+ * })
26
+ * export class AppModule { }
27
+ * ```
22
28
  */
23
29
  export class TileLayoutModule {
24
30
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -9,8 +9,17 @@ import * as i0 from "@angular/core";
9
9
  * with the `kendoTimelineCardActionsTemplate` directive inside the `<kendo-timeline>` tag.
10
10
  *
11
11
  * The following values are available as context variables:
12
- * - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
13
- * - `let-index="index"` (`number`) - The current event index.
12
+ * - `let-event="event"` (`TimelineEvent`)&mdash;The current card's event. Also available as implicit context variable.
13
+ * - `let-index="index"` (`number`)&mdash;The current event index.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-timeline [events]="events">
18
+ * <ng-template kendoTimelineCardActionsTemplate let-event let-index="index">
19
+ * Content for the actions of the card with index {{ index }} and event {{ event.title }}.
20
+ * </ng-template>
21
+ * </kendo-timeline>
22
+ * ```
14
23
  */
15
24
  export class TimelineCardActionsTemplateDirective {
16
25
  templateRef;
@@ -9,8 +9,17 @@ import * as i0 from "@angular/core";
9
9
  * with the `kendoTimelineCardBodyTemplate` directive inside the `<kendo-timeline>` tag.
10
10
  *
11
11
  * The following values are available as context variables:
12
- * - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
13
- * - `let-index="index"` (`number`) - The current event index.
12
+ * - `let-event="event"` (`TimelineEvent`)&mdash;The current card's event. Also available as implicit context variable.
13
+ * - `let-index="index"` (`number`)&mdash;The current event index.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-timeline [events]="events">
18
+ * <ng-template kendoTimelineCardBodyTemplate let-event let-index="index">
19
+ * Component for the body of the card with index {{ index }} and event {{ event.title }}.
20
+ * </ng-template>
21
+ * </kendo-timeline>
22
+ * ```
14
23
  */
15
24
  export class TimelineCardBodyTemplateDirective {
16
25
  templateRef;
@@ -9,8 +9,18 @@ import * as i0 from "@angular/core";
9
9
  * with the `kendoTimelineCardHeaderTemplate` directive inside the `<kendo-timeline>` tag.
10
10
  *
11
11
  * The following values are available as context variables:
12
- * - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
13
- * - `let-index="index"` (`number`) - The current event index.
12
+ * - `let-event="event"` (`TimelineEvent`)&mdash;The current card's event. Also available as implicit context variable.
13
+ * - `let-index="index"` (`number`)&mdash;The current event index.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-timeline [events]="events">
18
+ * <ng-template kendoTimelineCardHeaderTemplate let-event let-index="index">
19
+ * <span class="k-event-title">Title: {{ event.title }}</span>
20
+ * <div kendoCardSubtitle>Event number {{ index }}</div>
21
+ * </ng-template>
22
+ * </kendo-timeline>
23
+ * ```
14
24
  */
15
25
  export class TimelineCardHeaderTemplateDirective {
16
26
  templateRef;
@@ -25,6 +25,9 @@ const DEFAULT_EVENT_HEIGHT = 600;
25
25
  const DEFAULT_DATE_FORMAT = 'MMMM dd, yyyy';
26
26
  /**
27
27
  * Represents the [Kendo UI Timeline component for Angular]({% slug overview_timeline %}).
28
+ *
29
+ * @remarks
30
+ * Supported children components are: {@link TimelineCustomMessagesComponent}.
28
31
  */
29
32
  export class TimelineComponent {
30
33
  timelineService;
@@ -12,11 +12,20 @@ import * as i4 from "./timeline/templates/timeline-card-body.directive";
12
12
  import * as i5 from "./timeline/templates/timeline-card-header.directive";
13
13
  // IMPORTANT: NgModule export kept for backwards compatibility
14
14
  /**
15
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
16
- * definition for the Timeline component.
15
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Timeline component.
17
16
  *
18
- * The module registers:
19
- * - `TimelineComponent`&mdash;The `TimelineComponent` component class.
17
+ * Use this module to add the Timeline component to your NgModule-based Angular application.
18
+ *
19
+ * @example
20
+ * ```typescript
21
+ * import { TimelineModule } from '@progress/kendo-angular-layout';
22
+ * import { NgModule } from '@angular/core';
23
+ *
24
+ * @NgModule({
25
+ * imports: [TimelineModule]
26
+ * })
27
+ * export class AppModule { }
28
+ * ```
20
29
  */
21
30
  export class TimelineModule {
22
31
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -4,15 +4,15 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
6
6
  /**
7
- * The type of the action that will take place upon interaction with the ExpansionPanel.
7
+ * Defines the type of the action that takes place upon interaction with the ExpansionPanel.
8
8
  */
9
9
  export type ExpansionPanelAction = 'expand' | 'collapse';
10
10
  /**
11
- * Arguments for the `action` event of the ExpansionPanel.
11
+ * Defines the arguments for the `action` event of the ExpansionPanel.
12
12
  */
13
13
  export declare class ExpansionPanelActionEvent extends PreventableEvent {
14
14
  /**
15
- * The action that will take place upon interaction with the ExpansionPanel.
15
+ * Defines the action that takes place upon interaction with the ExpansionPanel.
16
16
  */
17
17
  action: ExpansionPanelAction;
18
18
  /**
@@ -5,10 +5,19 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the content of the ExpansionPanel title.
9
- * To define the template, nest an `<ng-template>` tag
10
- * with the `kendoExpansionPanelTitleDirective` directive inside the `<kendo-expansionpanel>` tag.
8
+ * Defines a template that specifies the content of the ExpansionPanel title.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoExpansionPanelTitleDirective` directive inside the `<kendo-expansionpanel>` tag
11
10
  * ([see example]({% slug title_expansionpanel %}#toc-title-template)).
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-expansionpanel>
15
+ * <ng-template kendoExpansionPanelTitleDirective>
16
+ * <h3>Custom Title</h3>
17
+ * </ng-template>
18
+ * <p>Panel content</p>
19
+ * </kendo-expansionpanel>
20
+ * ```
12
21
  */
13
22
  export declare class ExpansionPanelTitleDirective {
14
23
  templateRef: TemplateRef<any>;
@@ -10,19 +10,16 @@ import { ExpansionPanelActionEvent } from './events/action-event';
10
10
  import { SVGIcon } from '@progress/kendo-svg-icons';
11
11
  import * as i0 from "@angular/core";
12
12
  /**
13
- * Represents the [Kendo UI ExpansionPanel component for Angular]({% slug overview_expansionpanel %}).
13
+ * Represents the Kendo UI ExpansionPanel component for Angular. Provides an expandable and collapsible content container with customizable header and animation ([see overview]({% slug overview_expansionpanel %})).
14
14
  *
15
15
  * @example
16
- * ```ts-preview
17
- * _@Component({
18
- * selector: 'my-app',
19
- * template: `
20
- * <kendo-expansionpanel title="Chile" subtitle="South America">
21
- * There are various theories about the origin of the word Chile.
22
- * </kendo-expansionpanel>
23
- * `
24
- * })
25
- * class AppComponent {}
16
+ * ```html
17
+ * <kendo-expansionpanel
18
+ * title="Chile"
19
+ * subtitle="South America"
20
+ * [expanded]="isExpanded">
21
+ * There are various theories about the origin of the word Chile.
22
+ * </kendo-expansionpanel>
26
23
  * ```
27
24
  */
28
25
  export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, OnDestroy {
@@ -37,7 +34,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
37
34
  */
38
35
  title: string;
39
36
  /**
40
- * Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon
37
+ * Specifies the secondary text in the header of the ExpansionPanel, which renders next to the collapse/expand icon
41
38
  * ([see example](slug:title_expansionpanel#toc-titles-and-subtitles)).
42
39
  */
43
40
  subtitle: string;
@@ -49,7 +46,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
49
46
  */
50
47
  disabled: boolean;
51
48
  /**
52
- * Specifies whether the ExpansionPanel is expanded. The property supports two-way binding.
49
+ * Specifies whether the ExpansionPanel is expanded. The property supports two-way binding
53
50
  * ([see example]({% slug interaction_expansionpanel %}#toc-setting-the-initial-state)).
54
51
  *
55
52
  * @default false
@@ -57,24 +54,24 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
57
54
  set expanded(value: boolean);
58
55
  get expanded(): boolean;
59
56
  /**
60
- * Defines an SVGIcon for the expanded state of the component.
61
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
57
+ * Defines an SVG icon for the expanded state of the component.
58
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
62
59
  */
63
60
  set svgExpandIcon(icon: SVGIcon);
64
61
  get svgExpandIcon(): SVGIcon;
65
62
  /**
66
- * Defines an SVGIcon for the collapsed state of the component.
67
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
63
+ * Defines an SVG icon for the collapsed state of the component.
64
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
68
65
  */
69
66
  set svgCollapseIcon(icon: SVGIcon);
70
67
  get svgCollapseIcon(): SVGIcon;
71
68
  /**
72
- * Sets a custom icon via css class(es), for the collapsed state of the component
69
+ * Sets a custom icon via CSS class(es) for the collapsed state of the component
73
70
  * ([see example]({% slug icons_expansionpanel %}#toc-icons)).
74
71
  */
75
72
  expandIcon: string;
76
73
  /**
77
- * Sets a custom icon via css class(es), for the expanded state of the component
74
+ * Sets a custom icon via CSS class(es) for the expanded state of the component
78
75
  * ([see example]({% slug icons_expansionpanel %}#toc-icons)).
79
76
  */
80
77
  collapseIcon: string;
@@ -82,11 +79,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
82
79
  * Specifies the animation settings of the ExpansionPanel
83
80
  * ([see example]({% slug animations_expansionpanel %})).
84
81
  *
85
- * The possible values are:
86
- * * Boolean
87
- * * (Default) `true` Numeric values represent duration. Default duration is 200ms.
88
- * * false
89
- * * Number
82
+ * @default true
90
83
  */
91
84
  animation?: boolean | number;
92
85
  /**
@@ -101,12 +94,12 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
101
94
  */
102
95
  action: EventEmitter<ExpansionPanelActionEvent>;
103
96
  /**
104
- * Fires when the ExpansionPanel is expanded. If there is animation it will fire when the animation is complete
97
+ * Fires when the ExpansionPanel is expanded. If there is animation it fires when the animation is complete
105
98
  * ([see example](slug:events_expansionpanel)).
106
99
  */
107
100
  expand: EventEmitter<any>;
108
101
  /**
109
- * Fires when the ExpansionPanel is collapsed. If there is animation it will fire when the animation is complete
102
+ * Fires when the ExpansionPanel is collapsed. If there is animation it fires when the animation is complete
110
103
  * ([see example](slug:events_expansionpanel)).
111
104
  */
112
105
  collapse: EventEmitter<any>;
@@ -164,7 +157,7 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
164
157
  * Toggles the visibility of the ExpansionPanel
165
158
  * ([see example](slug:interaction_expansionpanel#toggling-between-states)).
166
159
  *
167
- * @param expanded? - Boolean. Specifies, whether the ExpansionPanel will be expanded or collapsed.
160
+ * @param expanded Specifies whether the ExpansionPanel will be expanded or collapsed.
168
161
  */
169
162
  toggle(expanded?: boolean): void;
170
163
  private focusExpansionPanel;
@@ -6,8 +6,20 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "./expansionpanel/expansionpanel.component";
7
7
  import * as i2 from "./expansionpanel/expansionpanel-title.directive";
8
8
  /**
9
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
- * definition for the ExpansionPanel component.
9
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the ExpansionPanel component.
10
+ *
11
+ * Use this module to add the ExpansionPanel component to your NgModule-based Angular application.
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * import { ExpansionPanelModule } from '@progress/kendo-angular-layout';
16
+ * import { NgModule } from '@angular/core';
17
+ *
18
+ * @NgModule({
19
+ * imports: [ExpansionPanelModule]
20
+ * })
21
+ * export class AppModule { }
22
+ * ```
11
23
  */
12
24
  export declare class ExpansionPanelModule {
13
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpansionPanelModule, never>;