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

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
@@ -12,38 +12,60 @@ import { PanelBarItemTemplateDirective } from "./panelbar-item-template.directiv
12
12
  import { PanelBarSelectEvent, PanelBarExpandEvent, PanelBarCollapseEvent, PanelBarStateChangeEvent, PanelBarItemClickEvent } from './events';
13
13
  import * as i0 from "@angular/core";
14
14
  /**
15
- * Represents the [Kendo UI PanelBar component for Angular]({% slug overview_panelbar %}).
15
+ * Represents the Kendo UI PanelBar component for Angular.
16
+ * Displays hierarchical data as an expandable and collapsible accordion-style interface ([see overview]({% slug overview_panelbar %})).
17
+ *
18
+ * @example
19
+ * ```typescript
20
+ * @Component({
21
+ * selector: 'my-app',
22
+ * template: `
23
+ * <kendo-panelbar [items]="items" expandMode="single">
24
+ * </kendo-panelbar>
25
+ * `
26
+ * })
27
+ * class AppComponent {
28
+ * items = [
29
+ * { title: 'Item 1', expanded: true, content: 'Content 1' },
30
+ * { title: 'Item 2', content: 'Content 2' }
31
+ * ];
32
+ * }
33
+ * ```
34
+ * @remarks
35
+ * Supported children components are: {@link PanelBarItemComponent}.
16
36
  */
17
37
  export declare class PanelBarComponent implements AfterViewChecked, OnChanges, OnInit, OnDestroy {
18
38
  private localization;
19
39
  /**
20
40
  * Sets the expand mode of the PanelBar through the `PanelBarExpandMode` enum ([see example]({% slug expandmodes_panelbar %})).
21
41
  *
22
- * The available modes are:
23
- * - `"single"`&mdash;Expands only one item at a time. Expanding an item collapses the item that was previously expanded.
24
- * - `"multiple"`&mdash;The default mode of the PanelBar.
25
- * Expands more than one item at a time. Items can also be toggled.
26
- * - `"full"`&mdash;Expands only one item at a time.
27
- * The expanded area occupies the entire height of the PanelBar. Requires you to set the `height` property.
42
+ * @default 'multiple
28
43
  */
29
44
  expandMode: PanelBarExpandMode;
30
45
  /**
31
46
  * Allows the PanelBar to modify the selected state of the items.
47
+ *
48
+ * @default true
32
49
  */
33
50
  selectable: boolean;
34
51
  /**
35
52
  * Sets the animate state of the PanelBar ([see example]({% slug animations_panelbar %})).
53
+ *
54
+ * @default true
36
55
  */
37
56
  animate: boolean;
38
57
  /**
39
58
  * Sets the height of the component when the `"full"` expand mode is used.
40
- * This option is ignored in the `"multiple"` and `"single"` expand modes.
59
+ * This option is ignored when the `"multiple"` or `"single"` expand modes are used.
60
+ *
61
+ * @default '400px'
41
62
  */
42
63
  height: any;
43
64
  /**
44
65
  * When set to `true`, the PanelBar renders the content of all items and they are persisted in the DOM
45
66
  * ([see example]({% slug templates_panelbar %}#toc-collections)).
46
- * By default, this option is set to `false`.
67
+ *
68
+ * @default false
47
69
  */
48
70
  get keepItemContent(): boolean;
49
71
  set keepItemContent(keepItemContent: boolean);
@@ -54,31 +76,32 @@ export declare class PanelBarComponent implements AfterViewChecked, OnChanges, O
54
76
  set items(data: Array<PanelBarItemModel>);
55
77
  get items(): Array<PanelBarItemModel>;
56
78
  /**
57
- * Fires each time the user interacts with a PanelBar item
79
+ * Fires when the state of the PanelBar changes.
80
+ * This event is triggered when an item is selected, expanded, or collapsed.
58
81
  * ([see example](slug:routing_panelbar#using-router-service)).
59
82
  * The event data contains a collection of all items that are modified.
60
83
  */
61
84
  stateChange: EventEmitter<PanelBarStateChangeEvent>;
62
85
  /**
63
86
  * Fires when an item is about to be selected.
64
- * ([see example]({% slug events_panelbar %}))
65
- * This event is preventable. If you cancel it, the item will not be selected.
87
+ * This event is preventable. If you cancel it, the item will not be selected
88
+ * ([see example]({% slug events_panelbar %})).
66
89
  */
67
90
  select: EventEmitter<PanelBarSelectEvent>;
68
91
  /**
69
92
  * Fires when an item is about to be expanded.
70
- * ([see example]({% slug events_panelbar %}))
71
- * This event is preventable. If you cancel it, the item will remain collapsed.
93
+ * This event is preventable. If you cancel it, the item will remain collapsed
94
+ * ([see example]({% slug events_panelbar %})).
72
95
  */
73
96
  expand: EventEmitter<PanelBarExpandEvent>;
74
97
  /**
75
98
  * Fires when an item is about to be collapsed.
76
- * ([see example]({% slug events_panelbar %}))
77
- * This event is preventable. If you cancel it, the item will remain expanded.
99
+ * This event is preventable. If you cancel it, the item will remain expanded
100
+ * ([see example]({% slug events_panelbar %})).
78
101
  */
79
102
  collapse: EventEmitter<PanelBarCollapseEvent>;
80
103
  /**
81
- * Fires when the user clicks an item ([see example]({% slug events_panelbar %})).
104
+ * Fires when an item is clicked ([see example]({% slug events_panelbar %})).
82
105
  */
83
106
  itemClick: EventEmitter<PanelBarItemClickEvent>;
84
107
  hostClasses: boolean;
@@ -9,15 +9,20 @@ import * as i3 from "./panelbar/panelbar-content.directive";
9
9
  import * as i4 from "./panelbar/panelbar-item-template.directive";
10
10
  import * as i5 from "./panelbar/panelbar-item-title.directive";
11
11
  /**
12
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
- * definition for the PanelBar component.
12
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the PanelBar component.
14
13
  *
15
- * The module registers:
16
- * - `PanelBarComponent`&mdash;The `PanelBar` component class.
17
- * - `PanelBarItemComponent`&mdash;The `PanelBarItem` component class.
18
- * - `PanelBarContentComponent`&mdash;The `PanelBarContent` component class.
19
- * - `PanelBarItemTemplateDirective&mdash;The `PanelBarItemTemplate` directive.
20
- * - `PanelBarItemTitleDirective&mdash;The `PanelBarItemTitle` directive.
14
+ * Use this module to add the PanelBar component to your NgModule-based Angular application.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * import { PanelBarModule } from '@progress/kendo-angular-layout';
19
+ * import { NgModule } from '@angular/core';
20
+ *
21
+ * @NgModule({
22
+ * imports: [PanelBarModule]
23
+ * })
24
+ * export class AppModule { }
25
+ * ```
21
26
  */
22
27
  export declare class PanelBarModule {
23
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelBarModule, never>;
@@ -8,6 +8,18 @@ import { SplitterService } from './splitter.service';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
10
  * Represents the pane component of the Splitter.
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-splitter>
15
+ * <kendo-splitter-pane size="30%" [collapsible]="true">
16
+ * Left pane content
17
+ * </kendo-splitter-pane>
18
+ * <kendo-splitter-pane>
19
+ * Right pane content
20
+ * </kendo-splitter-pane>
21
+ * </kendo-splitter>
22
+ * ```
11
23
  */
12
24
  export declare class SplitterPaneComponent implements AfterViewChecked {
13
25
  element: ElementRef<HTMLElement>;
@@ -20,16 +32,16 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
20
32
  set order(paneOrder: number);
21
33
  get order(): number;
22
34
  /**
23
- * Sets the initial size of the pane.
24
- * Accepts units in pixel and percentage values.
25
- * Has to be between the `min` and `max` properties.
35
+ * Defines the initial size of the pane.
36
+ * Accepts values in pixels and percentages.
37
+ * The value must be between the `min` and `max` properties.
26
38
  */
27
39
  set size(newSize: string);
28
40
  get size(): string;
29
41
  /**
30
- * Sets the HTML attributes of the splitter bar.
31
- * The property accepts string key-value based pairs.
32
- * Attributes which are essential for certain functionalities cannot be changed.
42
+ * Defines the HTML attributes of the splitter bar.
43
+ * Accepts string key-value pairs.
44
+ * You cannot change attributes that are essential for certain functionalities.
33
45
  */
34
46
  set splitterBarAttributes(attributes: {
35
47
  [key: string]: string;
@@ -38,34 +50,42 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
38
50
  [key: string]: string;
39
51
  };
40
52
  /**
41
- * The CSS classes that will be rendered on the splitter bar.
42
- * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
53
+ * Defines the CSS classes that are rendered on the splitter bar.
54
+ * Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
43
55
  */
44
56
  splitterBarClass: string | Array<string> | Object;
45
57
  /**
46
- * Sets the minimum possible size of the pane.
47
- * Accepts units in pixel and percentage values.
58
+ * Defines the minimum possible size of the pane.
59
+ * Accepts values in pixels and percentages.
48
60
  */
49
61
  min: string;
50
62
  /**
51
- * Sets the maximum possible size of the pane.
52
- * Accepts units in pixel and percentage values.
63
+ * Defines the maximum possible size of the pane.
64
+ * Accepts values in pixels and percentages.
53
65
  */
54
66
  max: string;
55
67
  /**
56
- * Specifies if the user is allowed to resize the pane and provide space for other panes.
68
+ * Determines if you can resize the pane and provide space for other panes.
69
+ *
70
+ * @default true
57
71
  */
58
72
  resizable: boolean;
59
73
  /**
60
- * Specifies if the user is allowed to hide the pane and provide space for other panes.
74
+ * Determines if you can hide the pane and provide space for other panes.
75
+ *
76
+ * @default false
61
77
  */
62
78
  collapsible: boolean;
63
79
  /**
64
- * Specifies if overflowing content is scrollable or hidden.
80
+ * Determines if overflowing content is scrollable or hidden.
81
+ *
82
+ * @default true
65
83
  */
66
84
  scrollable: boolean;
67
85
  /**
68
- * Specifies if the pane is initially collapsed.
86
+ * Determines if the pane is initially collapsed.
87
+ *
88
+ * @default false
69
89
  */
70
90
  collapsed: boolean;
71
91
  /**
@@ -81,15 +101,15 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
81
101
  */
82
102
  overlayContent: boolean;
83
103
  /**
84
- * Fires each time the user resizes the Splitter pane.
104
+ * Fires when the Splitter pane size changes.
85
105
  * The event data contains the new pane size.
86
- * Allows a two-way binding of the pane `size` property.
106
+ * Enables two-way binding of the pane `size` property.
87
107
  */
88
108
  sizeChange: EventEmitter<string>;
89
109
  /**
90
- * Fires each time the `collapsed` property changes.
110
+ * Fires when the Splitter pane collapses or expands.
91
111
  * The event data contains the new property state.
92
- * Allows a two-way binding of the `collapsed` pane property.
112
+ * Enables two-way binding of the `collapsed` pane property.
93
113
  */
94
114
  collapsedChange: EventEmitter<boolean>;
95
115
  get isHidden(): boolean;
@@ -12,37 +12,19 @@ import * as i0 from "@angular/core";
12
12
  /**
13
13
  * Represents the [Kendo UI Splitter component for Angular]({% slug overview_splitter %}).
14
14
  *
15
- * ```ts-preview
16
- *
17
- * @Component({
18
- * selector: 'my-app',
19
- * template: `
20
- * <kendo-splitter [style.height.px]="280">
21
- *
22
- * <kendo-splitter-pane [collapsible]="true" size="30%">
23
- * <h3>Inner splitter / left pane</h3>
24
- * <p>Resizable and collapsible.</p>
25
- * </kendo-splitter-pane>
26
- *
27
- * <kendo-splitter-pane>
28
- * <h3>Inner splitter / center pane</h3>
29
- * <p>Resizable only.</p>
30
- * </kendo-splitter-pane>
31
- *
32
- * <kendo-splitter-pane [collapsible]="true" size="30%">
33
- * <h3>Inner splitter / right pane</h3>
34
- * <p>Resizable and collapsible.</p>
35
- * </kendo-splitter-pane>
36
- *
37
- * </kendo-splitter>
38
- * `,
39
- * styles: [ `
40
- * h3 { font-size: 1.2em; }
41
- * h3, p { margin: 10px; padding: 0; }
42
- * ` ]
43
- * })
44
- * class AppComponent {}
15
+ * @example
16
+ * ```html
17
+ * <kendo-splitter [style.height.px]="280">
18
+ * <kendo-splitter-pane [collapsible]="true" size="30%">
19
+ * <h3>Left pane</h3>
20
+ * </kendo-splitter-pane>
21
+ * <kendo-splitter-pane>
22
+ * <h3>Right pane</h3>
23
+ * </kendo-splitter-pane>
24
+ * </kendo-splitter>
45
25
  * ```
26
+ * @remarks
27
+ * Supported children components are: {@link SplitterPaneComponent}.
46
28
  */
47
29
  export declare class SplitterComponent implements AfterContentInit {
48
30
  protected element: ElementRef<HTMLElement>;
@@ -52,30 +34,32 @@ export declare class SplitterComponent implements AfterContentInit {
52
34
  private ngZone;
53
35
  private enclosingPane?;
54
36
  /**
55
- * Specifies the orientation of the panes within the Splitter.
56
- * Panes in a horizontal Splitter are placed horizontally.
57
- * Panes in a vertical Splitter are placed vertically.
37
+ * Defines the orientation of the panes within the Splitter.
38
+ * Use `horizontal` to place panes horizontally or `vertical` to place them vertically.
39
+ *
40
+ * @default 'horizontal'
58
41
  */
59
42
  orientation: Orientation;
60
43
  /**
61
- * Sets the width or height (depending on the orientation) of the Splitter splitbars in pixels.
44
+ * Defines the width or height of the Splitter splitbars in pixels.
45
+ * The dimension depends on the orientation of the Splitter.
62
46
  */
63
47
  splitbarWidth: number;
64
48
  /**
65
- * The distance in pixels that the separator is moved with during keyboard navigation.
49
+ * Defines the distance in pixels that you move the separator during keyboard navigation.
50
+ *
66
51
  * @default 10
67
52
  */
68
53
  set resizeStep(value: number);
69
54
  get resizeStep(): number;
70
55
  /**
71
- * The CSS classes that will be rendered on the splitter bars.
72
- * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
56
+ * Defines the CSS classes that are rendered on the splitter bars.
57
+ * Supports the same values as [`ngClass`](link:site.data.urls.angular['ngclassapi']).
73
58
  */
74
59
  splitterBarClass: string | Array<string> | Object;
75
60
  /**
76
- * Fires after a Splitter pane is resized or collapsed.
77
- * Useful for triggering layout calculations on components
78
- * which are positioned inside the panes.
61
+ * Fires when the layout of the Splitter changes.
62
+ * Use this event to trigger layout calculations on components that are positioned inside the panes.
79
63
  */
80
64
  layoutChange: EventEmitter<string>;
81
65
  get hostClasses(): boolean;
@@ -6,12 +6,20 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "./splitter/splitter.component";
7
7
  import * as i2 from "./splitter/splitter-pane.component";
8
8
  /**
9
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
- * definition for the Splitter component.
9
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Splitter component.
11
10
  *
12
- * The module registers:
13
- * - `SplitterComponent`&mdash;The `Splitter` component class.
14
- * - `SplitterPaneComponent`&mdash;The `SplitterPane` component class.
11
+ * Use this module to add the Splitter component to your NgModule-based Angular application.
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * import { SplitterModule } from '@progress/kendo-angular-layout';
16
+ * import { NgModule } from '@angular/core';
17
+ *
18
+ * @NgModule({
19
+ * imports: [SplitterModule]
20
+ * })
21
+ * export class AppModule { }
22
+ * ```
15
23
  */
16
24
  export declare class SplitterModule {
17
25
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitterModule, never>;
@@ -5,8 +5,20 @@
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./layouts/stack-layout.component";
7
7
  /**
8
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
9
- * definition for the StackLayout component.
8
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the StackLayout component.
9
+ *
10
+ * Use this module to add the StackLayout component to your NgModule-based Angular application.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * import { StackLayoutModule } from '@progress/kendo-angular-layout';
15
+ * import { NgModule } from '@angular/core';
16
+ *
17
+ * @NgModule({
18
+ * imports: [StackLayoutModule]
19
+ * })
20
+ * export class AppModule { }
21
+ * ```
10
22
  */
11
23
  export declare class StackLayoutModule {
12
24
  static ɵfac: i0.ɵɵFactoryDeclaration<StackLayoutModule, never>;
@@ -5,23 +5,23 @@
5
5
  import { PreventableEvent } from '@progress/kendo-angular-common';
6
6
  import { StepperComponent } from './../stepper.component';
7
7
  /**
8
- * Arguments for the `activate` event of the Stepper.
8
+ * Represents the arguments for the `activate` event of the Stepper.
9
9
  */
10
10
  export declare class StepperActivateEvent extends PreventableEvent {
11
11
  /**
12
- * The index of the activated step in the `steps` collection.
12
+ * Specifies the index of the activated step in the `steps` collection.
13
13
  */
14
14
  index: number;
15
15
  /**
16
- * The activated step.
16
+ * Specifies the activated step.
17
17
  */
18
18
  step: any;
19
19
  /**
20
- * The DOM event that triggered the step activation.
20
+ * Specifies the DOM event that triggered the step activation.
21
21
  */
22
22
  originalEvent: any;
23
23
  /**
24
- * The Stepper that triggered the event.
24
+ * Specifies the Stepper that triggered the event.
25
25
  */
26
26
  sender: StepperComponent;
27
27
  /**
@@ -6,8 +6,16 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { StepperMessages } from './messages';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Custom component messages override default component messages
9
+ * Provides custom component messages that override default component messages
10
10
  * ([see example]({% slug rtl_layout %})).
11
+ *
12
+ * ```html
13
+ * <kendo-stepper>
14
+ * <kendo-stepper-messages
15
+ * optional="Optional step"
16
+ * ></kendo-stepper-messages>
17
+ * </kendo-stepper>
18
+ * ```
11
19
  */
12
20
  export declare class StepperCustomMessagesComponent extends StepperMessages {
13
21
  protected service: LocalizationService;
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export declare class StepperMessages extends ComponentMessages {
11
11
  /**
12
- * The optional text.
12
+ * Specifies the optional text.
13
13
  */
14
14
  optional: string;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperMessages, never>;
@@ -6,8 +6,6 @@
6
6
  * Specifies the orientation of the Stepper
7
7
  * ([see example]({% slug orientation_stepper %})).
8
8
  *
9
- * The possible values are:
10
- * * (Default) `horizontal`
11
- * * `vertical`
9
+ * Use `horizontal` to display steps in a row or `vertical` to display steps in a column.
12
10
  */
13
11
  export type StepperOrientation = 'horizontal' | 'vertical';
@@ -3,17 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Represents the callback used by the `isValid` and `validate` properties of a [step]({% slug api_layout_stepperstep %}).
6
+ * Represents the callback function used by the `isValid` and `validate` properties of a [step]({% slug api_layout_stepperstep %}).
7
7
  *
8
- * Receives the index of the step as an argument.
8
+ * The function receives the index of the step as an argument.
9
9
  *
10
- * We recommend using an arrow function for the callback to capture the `this` execution context of the current class.
10
+ * Use an arrow function for the callback to capture the `this` execution context of the current class.
11
11
  *
12
- * ```ts-no-run
13
- * stepCallback = (index: number): boolean => {
12
+ * ```typescript
13
+ * public stepCallback = (index: number): boolean => {
14
14
  * return index === 3;
15
15
  * }
16
16
  * ```
17
- *
18
17
  */
19
18
  export type StepPredicateFn = (stepIndex: number) => boolean;
@@ -6,9 +6,6 @@
6
6
  * Specifies the type of the steps
7
7
  * ([see example]({% slug orientation_stepper %})).
8
8
  *
9
- * The possible values are:
10
- * * (Default) `indicator`
11
- * * `label`
12
- * * `full`
9
+ * Use `indicator` to show only step indicators, `label` to show only step labels, or `full` to show both indicators and labels.
13
10
  */
14
11
  export type StepType = 'indicator' | 'label' | 'full';
@@ -5,16 +5,16 @@
5
5
  import { SVGIcon } from '@progress/kendo-svg-icons';
6
6
  import { StepPredicateFn } from './step-predicate';
7
7
  /**
8
- * An interface for the steps of the Stepper component.
8
+ * Represents an interface for the steps of the Stepper component.
9
9
  */
10
10
  export interface StepperStep {
11
11
  /**
12
- * The CSS classes that will be rendered on the step element of the Stepper.
12
+ * Specifies the CSS classes that will be rendered on the step element of the Stepper.
13
13
  * Supports the type of values that are supported by [ngClass](link:site.data.urls.angular['ngclassapi']).
14
14
  */
15
15
  cssClass?: any;
16
16
  /**
17
- * The CSS styles that will be rendered on the item element of the Drawer.
17
+ * Specifies the CSS styles that will be rendered on the item element of the Drawer.
18
18
  * Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
19
19
  */
20
20
  cssStyle?: any;
@@ -24,7 +24,7 @@ export interface StepperStep {
24
24
  disabled?: boolean;
25
25
  /**
26
26
  * Specifies if a step is valid.
27
- * By default only previous steps are validated (This behavior can be overridden by setting the `validate` property).
27
+ * By default only previous steps are validated. You can override this behavior by setting the `validate` property.
28
28
  *
29
29
  * ([More information and example]({% slug step_validation_stepper %})).
30
30
  */
@@ -36,18 +36,18 @@ export interface StepperStep {
36
36
  */
37
37
  validate?: boolean | StepPredicateFn;
38
38
  /**
39
- * Defines the name of an existing icon in a Kendo UI theme.
40
- * If provided, the icon will be rendered inside the step indicator by a span.k-icon element, instead of the default numeric or text content.
39
+ * Specifies the name of an existing icon in a Kendo UI theme.
40
+ * If you provide this property, the icon will be rendered inside the step indicator by a `span.k-icon` element, instead of the default numeric or text content.
41
41
  */
42
42
  icon?: string;
43
43
  /**
44
- * Defines a CSS class or multiple classes separated by spaces which are applied to a span element.
45
- * Allows the usage of custom icons, rendered inside the step indicator instead of the default numeric or text content.
44
+ * Specifies a CSS class or multiple classes separated by spaces which are applied to a `span` element.
45
+ * Allows you to use custom icons, rendered inside the step indicator instead of the default numeric or text content.
46
46
  */
47
47
  iconClass?: string;
48
48
  /**
49
- * Defines an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
50
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
49
+ * Specifies an SVG icon to be rendered inside the step indicator instead of the default numeric or text content.
50
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
51
51
  */
52
52
  svgIcon?: SVGIcon;
53
53
  /**
@@ -59,8 +59,8 @@ export interface StepperStep {
59
59
  */
60
60
  optional?: boolean;
61
61
  /**
62
- * Specifies custom content rendered inside the step indicator.
63
- * The numeric step index is rendered by default.
62
+ * Specifies the text content of the step indicator.
63
+ * If not set, the step index will be rendered by default.
64
64
  */
65
65
  text?: string;
66
66
  }