@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
@@ -10,6 +10,18 @@ import * as i0 from "@angular/core";
10
10
  import * as i1 from "./splitter.service";
11
11
  /**
12
12
  * Represents the pane component of the Splitter.
13
+ *
14
+ * @example
15
+ * ```html
16
+ * <kendo-splitter>
17
+ * <kendo-splitter-pane size="30%" [collapsible]="true">
18
+ * Left pane content
19
+ * </kendo-splitter-pane>
20
+ * <kendo-splitter-pane>
21
+ * Right pane content
22
+ * </kendo-splitter-pane>
23
+ * </kendo-splitter>
24
+ * ```
13
25
  */
14
26
  export class SplitterPaneComponent {
15
27
  element;
@@ -27,9 +39,9 @@ export class SplitterPaneComponent {
27
39
  return this._order;
28
40
  }
29
41
  /**
30
- * Sets the initial size of the pane.
31
- * Accepts units in pixel and percentage values.
32
- * Has to be between the `min` and `max` properties.
42
+ * Defines the initial size of the pane.
43
+ * Accepts values in pixels and percentages.
44
+ * The value must be between the `min` and `max` properties.
33
45
  */
34
46
  set size(newSize) {
35
47
  this._size = newSize;
@@ -41,9 +53,9 @@ export class SplitterPaneComponent {
41
53
  return this._size;
42
54
  }
43
55
  /**
44
- * Sets the HTML attributes of the splitter bar.
45
- * The property accepts string key-value based pairs.
46
- * Attributes which are essential for certain functionalities cannot be changed.
56
+ * Defines the HTML attributes of the splitter bar.
57
+ * Accepts string key-value pairs.
58
+ * You cannot change attributes that are essential for certain functionalities.
47
59
  */
48
60
  set splitterBarAttributes(attributes) {
49
61
  this._splitterBarAttributes = attributes;
@@ -56,34 +68,42 @@ export class SplitterPaneComponent {
56
68
  return this._splitterBarAttributes;
57
69
  }
58
70
  /**
59
- * The CSS classes that will be rendered on the splitter bar.
60
- * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
71
+ * Defines the CSS classes that are rendered on the splitter bar.
72
+ * Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
61
73
  */
62
74
  splitterBarClass;
63
75
  /**
64
- * Sets the minimum possible size of the pane.
65
- * Accepts units in pixel and percentage values.
76
+ * Defines the minimum possible size of the pane.
77
+ * Accepts values in pixels and percentages.
66
78
  */
67
79
  min;
68
80
  /**
69
- * Sets the maximum possible size of the pane.
70
- * Accepts units in pixel and percentage values.
81
+ * Defines the maximum possible size of the pane.
82
+ * Accepts values in pixels and percentages.
71
83
  */
72
84
  max;
73
85
  /**
74
- * Specifies if the user is allowed to resize the pane and provide space for other panes.
86
+ * Determines if you can resize the pane and provide space for other panes.
87
+ *
88
+ * @default true
75
89
  */
76
90
  resizable = true;
77
91
  /**
78
- * Specifies if the user is allowed to hide the pane and provide space for other panes.
92
+ * Determines if you can hide the pane and provide space for other panes.
93
+ *
94
+ * @default false
79
95
  */
80
96
  collapsible = false;
81
97
  /**
82
- * Specifies if overflowing content is scrollable or hidden.
98
+ * Determines if overflowing content is scrollable or hidden.
99
+ *
100
+ * @default true
83
101
  */
84
102
  scrollable = true;
85
103
  /**
86
- * Specifies if the pane is initially collapsed.
104
+ * Determines if the pane is initially collapsed.
105
+ *
106
+ * @default false
87
107
  */
88
108
  collapsed = false;
89
109
  /**
@@ -106,15 +126,15 @@ export class SplitterPaneComponent {
106
126
  */
107
127
  overlayContent = false;
108
128
  /**
109
- * Fires each time the user resizes the Splitter pane.
129
+ * Fires when the Splitter pane size changes.
110
130
  * The event data contains the new pane size.
111
- * Allows a two-way binding of the pane `size` property.
131
+ * Enables two-way binding of the pane `size` property.
112
132
  */
113
133
  sizeChange = new EventEmitter();
114
134
  /**
115
- * Fires each time the `collapsed` property changes.
135
+ * Fires when the Splitter pane collapses or expands.
116
136
  * The event data contains the new property state.
117
- * Allows a two-way binding of the `collapsed` pane property.
137
+ * Enables two-way binding of the `collapsed` pane property.
118
138
  */
119
139
  collapsedChange = new EventEmitter();
120
140
  get isHidden() {
@@ -17,41 +17,23 @@ import * as i0 from "@angular/core";
17
17
  import * as i1 from "./splitter.service";
18
18
  import * as i2 from "@progress/kendo-angular-l10n";
19
19
  import * as i3 from "./splitter-pane.component";
20
- const SIZING_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/layout/splitter/panes/#toc-size';
20
+ const SIZING_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/layout/splitter/panes/#specifying-the-dimensions';
21
21
  /**
22
22
  * Represents the [Kendo UI Splitter component for Angular]({% slug overview_splitter %}).
23
23
  *
24
- * ```ts-preview
25
- *
26
- * @Component({
27
- * selector: 'my-app',
28
- * template: `
29
- * <kendo-splitter [style.height.px]="280">
30
- *
31
- * <kendo-splitter-pane [collapsible]="true" size="30%">
32
- * <h3>Inner splitter / left pane</h3>
33
- * <p>Resizable and collapsible.</p>
34
- * </kendo-splitter-pane>
35
- *
36
- * <kendo-splitter-pane>
37
- * <h3>Inner splitter / center pane</h3>
38
- * <p>Resizable only.</p>
39
- * </kendo-splitter-pane>
40
- *
41
- * <kendo-splitter-pane [collapsible]="true" size="30%">
42
- * <h3>Inner splitter / right pane</h3>
43
- * <p>Resizable and collapsible.</p>
44
- * </kendo-splitter-pane>
45
- *
46
- * </kendo-splitter>
47
- * `,
48
- * styles: [ `
49
- * h3 { font-size: 1.2em; }
50
- * h3, p { margin: 10px; padding: 0; }
51
- * ` ]
52
- * })
53
- * class AppComponent {}
24
+ * @example
25
+ * ```html
26
+ * <kendo-splitter [style.height.px]="280">
27
+ * <kendo-splitter-pane [collapsible]="true" size="30%">
28
+ * <h3>Left pane</h3>
29
+ * </kendo-splitter-pane>
30
+ * <kendo-splitter-pane>
31
+ * <h3>Right pane</h3>
32
+ * </kendo-splitter-pane>
33
+ * </kendo-splitter>
54
34
  * ```
35
+ * @remarks
36
+ * Supported children components are: {@link SplitterPaneComponent}.
55
37
  */
56
38
  export class SplitterComponent {
57
39
  element;
@@ -61,17 +43,20 @@ export class SplitterComponent {
61
43
  ngZone;
62
44
  enclosingPane;
63
45
  /**
64
- * Specifies the orientation of the panes within the Splitter.
65
- * Panes in a horizontal Splitter are placed horizontally.
66
- * Panes in a vertical Splitter are placed vertically.
46
+ * Defines the orientation of the panes within the Splitter.
47
+ * Use `horizontal` to place panes horizontally or `vertical` to place them vertically.
48
+ *
49
+ * @default 'horizontal'
67
50
  */
68
51
  orientation = 'horizontal';
69
52
  /**
70
- * Sets the width or height (depending on the orientation) of the Splitter splitbars in pixels.
53
+ * Defines the width or height of the Splitter splitbars in pixels.
54
+ * The dimension depends on the orientation of the Splitter.
71
55
  */
72
56
  splitbarWidth;
73
57
  /**
74
- * The distance in pixels that the separator is moved with during keyboard navigation.
58
+ * Defines the distance in pixels that you move the separator during keyboard navigation.
59
+ *
75
60
  * @default 10
76
61
  */
77
62
  set resizeStep(value) {
@@ -81,14 +66,13 @@ export class SplitterComponent {
81
66
  return this.splitterService.resizeStep;
82
67
  }
83
68
  /**
84
- * The CSS classes that will be rendered on the splitter bars.
85
- * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
69
+ * Defines the CSS classes that are rendered on the splitter bars.
70
+ * Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
86
71
  */
87
72
  splitterBarClass;
88
73
  /**
89
- * Fires after a Splitter pane is resized or collapsed.
90
- * Useful for triggering layout calculations on components
91
- * which are positioned inside the panes.
74
+ * Fires when the layout of the Splitter changes.
75
+ * Use this event to trigger layout calculations on components that are positioned inside the panes.
92
76
  */
93
77
  layoutChange;
94
78
  get hostClasses() {
@@ -9,12 +9,20 @@ import * as i1 from "./splitter/splitter.component";
9
9
  import * as i2 from "./splitter/splitter-pane.component";
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 Splitter component.
12
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Splitter component.
14
13
  *
15
- * The module registers:
16
- * - `SplitterComponent`&mdash;The `Splitter` component class.
17
- * - `SplitterPaneComponent`&mdash;The `SplitterPane` component class.
14
+ * Use this module to add the Splitter component to your NgModule-based Angular application.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * import { SplitterModule } from '@progress/kendo-angular-layout';
19
+ * import { NgModule } from '@angular/core';
20
+ *
21
+ * @NgModule({
22
+ * imports: [SplitterModule]
23
+ * })
24
+ * export class AppModule { }
25
+ * ```
18
26
  */
19
27
  export class SplitterModule {
20
28
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -8,8 +8,20 @@ import * as i0 from "@angular/core";
8
8
  import * as i1 from "./layouts/stack-layout.component";
9
9
  // IMPORTANT: NgModule export kept for backwards compatibility
10
10
  /**
11
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
12
- * definition for the StackLayout component.
11
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the StackLayout component.
12
+ *
13
+ * Use this module to add the StackLayout component to your NgModule-based Angular application.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * import { StackLayoutModule } from '@progress/kendo-angular-layout';
18
+ * import { NgModule } from '@angular/core';
19
+ *
20
+ * @NgModule({
21
+ * imports: [StackLayoutModule]
22
+ * })
23
+ * export class AppModule { }
24
+ * ```
13
25
  */
14
26
  export class StackLayoutModule {
15
27
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StackLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -4,23 +4,23 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from '@progress/kendo-angular-common';
6
6
  /**
7
- * Arguments for the `activate` event of the Stepper.
7
+ * Represents the arguments for the `activate` event of the Stepper.
8
8
  */
9
9
  export class StepperActivateEvent extends PreventableEvent {
10
10
  /**
11
- * The index of the activated step in the `steps` collection.
11
+ * Specifies the index of the activated step in the `steps` collection.
12
12
  */
13
13
  index;
14
14
  /**
15
- * The activated step.
15
+ * Specifies the activated step.
16
16
  */
17
17
  step;
18
18
  /**
19
- * The DOM event that triggered the step activation.
19
+ * Specifies the DOM event that triggered the step activation.
20
20
  */
21
21
  originalEvent;
22
22
  /**
23
- * The Stepper that triggered the event.
23
+ * Specifies the Stepper that triggered the event.
24
24
  */
25
25
  sender;
26
26
  /**
@@ -8,8 +8,16 @@ import { StepperMessages } 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 component messages that override default component messages
12
12
  * ([see example]({% slug rtl_layout %})).
13
+ *
14
+ * ```html
15
+ * <kendo-stepper>
16
+ * <kendo-stepper-messages
17
+ * optional="Optional step"
18
+ * ></kendo-stepper-messages>
19
+ * </kendo-stepper>
20
+ * ```
13
21
  */
14
22
  export class StepperCustomMessagesComponent extends StepperMessages {
15
23
  service;
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class StepperMessages extends ComponentMessages {
12
12
  /**
13
- * The optional text.
13
+ * Specifies the optional text.
14
14
  */
15
15
  optional;
16
16
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -21,20 +21,22 @@ const DEFAULT_ANIMATION_DURATION = 400;
21
21
  * Represents the [Kendo UI Stepper component for Angular]({% slug overview_stepper %}).
22
22
  *
23
23
  * @example
24
- * ```ts-preview
25
- * _@Component({
26
- * selector: 'my-app',
27
- * template: `
28
- * <kendo-stepper [steps]="steps">
29
- * </kendo-stepper>
30
- * `
24
+ * ```ts
25
+ * @Component({
26
+ * selector: 'my-app',
27
+ * template: `
28
+ * <kendo-stepper [steps]="steps">
29
+ * </kendo-stepper>
30
+ * `
31
31
  * })
32
32
  * class AppComponent {
33
- * public steps: Array<StepperStep> = [
34
- * { label: 'Step One' }, { label: 'Step Two' }, { label: 'Step Three' }
35
- * ];
33
+ * public steps: Array<StepperStep> = [
34
+ * { label: 'Step One' }, { label: 'Step Two' }, { label: 'Step Three' }
35
+ * ];
36
36
  * }
37
37
  * ```
38
+ * @remarks
39
+ * Supported children components are: {@link StepperCustomMessagesComponent}.
38
40
  */
39
41
  export class StepperComponent {
40
42
  renderer;
@@ -51,10 +53,7 @@ export class StepperComponent {
51
53
  /**
52
54
  * Specifies the type of the steps in the Stepper.
53
55
  *
54
- * The possible values are:
55
- * * (Default) `indicator`
56
- * * `label`
57
- * * `full`
56
+ * @default 'indicator'
58
57
  */
59
58
  stepType = 'indicator';
60
59
  /**
@@ -67,13 +66,11 @@ export class StepperComponent {
67
66
  * Specifies the orientation of the Stepper
68
67
  * ([see example]({% slug orientation_stepper %})).
69
68
  *
70
- * The possible values are:
71
- * * (Default) `horizontal`
72
- * * `vertical`
69
+ * @default 'horizontal'
73
70
  */
74
71
  orientation = 'horizontal';
75
72
  /**
76
- * The index of the current step.
73
+ * Specifies the index of the current step.
77
74
  */
78
75
  set currentStep(value) {
79
76
  this.stepperService.currentStep = value;
@@ -82,8 +79,8 @@ export class StepperComponent {
82
79
  return this.stepperService.currentStep;
83
80
  }
84
81
  /**
85
- * The collection of steps that will be rendered in the Stepper.
86
- * ([see example]({% slug step_appearance_stepper %}))
82
+ * Specifies the collection of steps that will be rendered in the Stepper
83
+ * ([see example]({% slug step_appearance_stepper %})).
87
84
  */
88
85
  set steps(steps) {
89
86
  if (isPresent(steps) && steps.length > 0) {
@@ -94,8 +91,8 @@ export class StepperComponent {
94
91
  return this._steps;
95
92
  }
96
93
  /**
97
- * Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
98
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
94
+ * Specifies an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
95
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
99
96
  */
100
97
  set svgIcon(icon) {
101
98
  this._svgIcon = icon;
@@ -104,42 +101,38 @@ export class StepperComponent {
104
101
  return this._svgIcon;
105
102
  }
106
103
  /**
107
- * Defines an SVGIcon to be rendered for the success icon.
108
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
104
+ * Specifies an SVG icon to be rendered for the success icon.
105
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
109
106
  */
110
107
  successSVGIcon;
111
108
  /**
112
- * Defines an SVGIcon to be rendered for the error icon.
113
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
109
+ * Specifies an SVG icon to be rendered for the error icon.
110
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
114
111
  */
115
112
  errorSVGIcon;
116
113
  /**
117
- * Specifies a custom icon that will be rendered inside the step
118
- * for valid previous steps.
114
+ * Specifies an SVG icon that will be rendered inside the step for valid previous steps.
115
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
119
116
  */
120
117
  successIcon;
121
118
  /**
122
- * Specifies a custom icon that will be rendered inside the step
123
- * for invalid previous steps.
124
- */
119
+ * Specifies an SVG icon that will be rendered inside the step for invalid previous steps.
120
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
121
+ */
125
122
  errorIcon;
126
123
  /**
127
- * Specifies the duration of the progress indicator animation in milliseconds. Defaults to `400ms`.
124
+ * Specifies the duration of the progress indicator animation in milliseconds.
128
125
  *
129
- * The possible values are:
130
- * * Boolean
131
- * * (Default) `true`
132
- * * false
133
- * * Number
126
+ * @default true
134
127
  */
135
128
  animation = true;
136
129
  /**
137
- * Fires when a step is about to be activated. This event is preventable.
130
+ * Fires when a step is about to be activated. You can prevent this event.
138
131
  */
139
132
  activate = new EventEmitter();
140
133
  /**
141
134
  * Fires when the `currentStep` property of the component was updated.
142
- * Used to provide a two-way binding for the `currentStep` property.
135
+ * Use this event to provide a two-way binding for the `currentStep` property.
143
136
  */
144
137
  currentStepChange = new EventEmitter();
145
138
  /**
@@ -29,19 +29,19 @@ handlersRTL[Keys.ArrowRight] = 'left';
29
29
  */
30
30
  class StepperActivateEvent extends PreventableEvent {
31
31
  /**
32
- * The index of the activated step in the `steps` collection.
32
+ * Specifies the index of the activated step in the `steps` collection.
33
33
  */
34
34
  index;
35
35
  /**
36
- * The activated step.
36
+ * Specifies the activated step.
37
37
  */
38
38
  step;
39
39
  /**
40
- * The DOM event that triggered the step activation.
40
+ * Specifies the DOM event that triggered the step activation.
41
41
  */
42
42
  originalEvent;
43
43
  /**
44
- * The Stepper that triggered the event.
44
+ * Specifies the Stepper that triggered the event.
45
45
  */
46
46
  sender;
47
47
  /**
@@ -5,9 +5,18 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the content of the Step indicator.
8
+ * Use this template to define custom content for the step indicator.
9
9
  * To define the template, nest an `<ng-template>` tag
10
10
  * with the `kendoStepperIndicatorTemplate` directive inside the `<kendo-stepper>` tag.
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-stepper>
15
+ * <ng-template kendoStepperIndicatorTemplate let-step="step" let-index="index">
16
+ * <span>{{ index + 1 }}</span>
17
+ * </ng-template>
18
+ * </kendo-stepper>
19
+ * ```
11
20
  */
12
21
  export class StepperIndicatorTemplateDirective {
13
22
  templateRef;
@@ -5,9 +5,18 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the content of the Step label.
8
+ * Use this template to define custom content for the step label.
9
9
  * To define the template, nest an `<ng-template>` tag
10
10
  * with the `kendoStepperLabelTemplate` directive inside the `<kendo-stepper>` tag.
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-stepper>
15
+ * <ng-template kendoStepperLabelTemplate let-step="step" let-index="index">
16
+ * <span class="custom-label">{{ step.label }}</span>
17
+ * </ng-template>
18
+ * </kendo-stepper>
19
+ * ```
11
20
  */
12
21
  export class StepperLabelTemplateDirective {
13
22
  templateRef;
@@ -5,9 +5,20 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the content of the whole Step.
8
+ * Use this template to define custom content for the entire step.
9
9
  * To define the template, nest an `<ng-template>` tag
10
10
  * with the `kendoStepperStepTemplate` directive inside the `<kendo-stepper>` tag.
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-stepper>
15
+ * <ng-template kendoStepperStepTemplate let-step="step" let-index="index">
16
+ * <div class="custom-step">
17
+ * <span>{{ step.label }}</span>
18
+ * </div>
19
+ * </ng-template>
20
+ * </kendo-stepper>
21
+ * ```
11
22
  */
12
23
  export class StepperStepTemplateDirective {
13
24
  templateRef;
@@ -12,8 +12,20 @@ import * as i4 from "./stepper/template-directives/label-template.directive";
12
12
  import * as i5 from "./stepper/template-directives/step-template.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 Stepper component.
15
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Stepper component.
16
+ *
17
+ * Use this module to add the Stepper component to your NgModule-based Angular application.
18
+ *
19
+ * @example
20
+ * ```typescript
21
+ * import { StepperModule } from '@progress/kendo-angular-layout';
22
+ * import { NgModule } from '@angular/core';
23
+ *
24
+ * @NgModule({
25
+ * imports: [StepperModule]
26
+ * })
27
+ * export class AppModule { }
28
+ * ```
17
29
  */
18
30
  export class StepperModule {
19
31
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -6,32 +6,20 @@ import { Directive, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Represents the content template of the Kendo UI TabStrip.
9
- * To define the template, nest a `<ng-template>` tag with the `kendoTabContent` inside the component tag.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoTabContent` directive inside the component tag.
10
10
  *
11
11
  * @example
12
- * ```ts-preview
13
- *
14
- * _@Component({
15
- * selector: 'my-app',
16
- * template: `
17
- * <kendo-tabstrip [ngStyle]="{'width': '400px'}" [animate]="true">
18
- * <kendo-tabstrip-tab title="Paris" [selected]="true">
19
- * <ng-template kendoTabContent>
20
- * <h3>Content 1</h3>
21
- * </ng-template>
22
- * </kendo-tabstrip-tab>
23
- *
24
- * <kendo-tabstrip-tab title="Sofia">
25
- * <ng-template kendoTabContent>
26
- * <h3>Content 2</h3>
27
- * </ng-template>
28
- * </kendo-tabstrip-tab>
29
- * </kendo-tabstrip>
30
- * `
31
- * })
32
- *
33
- * class AppComponent {}
34
- *
12
+ * ```html
13
+ * <kendo-tabstrip>
14
+ * <kendo-tabstrip-tab title="First Tab">
15
+ * <ng-template kendoTabContent>
16
+ * <div class="tab-content">
17
+ * <h2>Welcome</h2>
18
+ * <p>This is the content of the first tab.</p>
19
+ * </div>
20
+ * </ng-template>
21
+ * </kendo-tabstrip-tab>
22
+ * </kendo-tabstrip>
35
23
  * ```
36
24
  */
37
25
  export class TabContentDirective {