@progress/kendo-react-layout 13.3.0-develop.9 → 13.4.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/actionsheet/ActionSheet.d.ts +242 -0
  2. package/actionsheet/ActionSheetContent.d.ts +17 -0
  3. package/actionsheet/ActionSheetFooter.d.ts +42 -0
  4. package/actionsheet/ActionSheetHeader.d.ts +17 -0
  5. package/actionsheet/ActionSheetItem.d.ts +13 -0
  6. package/actionsheet/ActionSheetView.d.ts +16 -0
  7. package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +20 -0
  8. package/actionsheet/interfaces/ActionSheetItemProps.d.ts +76 -0
  9. package/appbar/AppBar.d.ts +56 -0
  10. package/appbar/AppBar.js +1 -1
  11. package/appbar/AppBar.mjs +10 -10
  12. package/appbar/AppBarSection.d.ts +55 -0
  13. package/appbar/AppBarSpacer.d.ts +56 -0
  14. package/appbar/interfaces/AppBarProps.d.ts +143 -0
  15. package/appbar/interfaces/AppBarSectionProps.d.ts +25 -0
  16. package/appbar/interfaces/AppBarSpacerProps.d.ts +26 -0
  17. package/bottomnavigation/BottomNavigation.d.ts +44 -0
  18. package/bottomnavigation/BottomNavigation.js +1 -1
  19. package/bottomnavigation/BottomNavigation.mjs +13 -13
  20. package/bottomnavigation/BottomNavigationItem.d.ts +19 -0
  21. package/bottomnavigation/BottomNavigationItem.mjs +3 -3
  22. package/bottomnavigation/BottomNavigationItemProps.d.ts +120 -0
  23. package/bottomnavigation/BottomNavigationProps.d.ts +238 -0
  24. package/bottomnavigation/models/events.d.ts +27 -0
  25. package/bottomnavigation/models/utils.d.ts +43 -0
  26. package/breadcrumb/Breadcrumb.d.ts +276 -0
  27. package/breadcrumb/Breadcrumb.js +1 -1
  28. package/breadcrumb/Breadcrumb.mjs +0 -1
  29. package/breadcrumb/BreadcrumbDelimiter.d.ts +50 -0
  30. package/breadcrumb/BreadcrumbLink.d.ts +136 -0
  31. package/breadcrumb/BreadcrumbLink.mjs +3 -3
  32. package/breadcrumb/BreadcrumbListItem.d.ts +58 -0
  33. package/breadcrumb/BreadcrumbOrderedList.d.ts +62 -0
  34. package/breadcrumb/BreadcrumbOrderedList.mjs +5 -5
  35. package/card/Avatar.d.ts +10 -0
  36. package/card/Avatar.js +1 -1
  37. package/card/Avatar.mjs +20 -22
  38. package/card/Card.d.ts +11 -0
  39. package/card/CardActions.d.ts +10 -0
  40. package/card/CardActions.mjs +1 -1
  41. package/card/CardBody.d.ts +10 -0
  42. package/card/CardFooter.d.ts +10 -0
  43. package/card/CardHeader.d.ts +10 -0
  44. package/card/CardImage.d.ts +10 -0
  45. package/card/CardSubtitle.d.ts +10 -0
  46. package/card/CardTitle.d.ts +10 -0
  47. package/card/interfaces/AvatarProps.d.ts +141 -0
  48. package/card/interfaces/CardActionsProps.d.ts +76 -0
  49. package/card/interfaces/CardBodyProps.d.ts +36 -0
  50. package/card/interfaces/CardFooterProps.d.ts +36 -0
  51. package/card/interfaces/CardHandle.d.ts +21 -0
  52. package/card/interfaces/CardHeaderProps.d.ts +36 -0
  53. package/card/interfaces/CardImageProps.d.ts +45 -0
  54. package/card/interfaces/CardProps.d.ts +91 -0
  55. package/card/interfaces/CardSubtitleProps.d.ts +36 -0
  56. package/card/interfaces/CardTitleProps.d.ts +21 -0
  57. package/card/interfaces/Enums.d.ts +30 -0
  58. package/contextmenu/ContextMenu.d.ts +50 -0
  59. package/dist/cdn/js/kendo-react-layout.js +1 -1
  60. package/drawer/Drawer.d.ts +52 -0
  61. package/drawer/DrawerContent.d.ts +48 -0
  62. package/drawer/DrawerItem.d.ts +37 -0
  63. package/drawer/DrawerNavigation.d.ts +49 -0
  64. package/drawer/DrawerNavigation.js +1 -1
  65. package/drawer/DrawerNavigation.mjs +27 -27
  66. package/drawer/context/DrawerContext.d.ts +27 -0
  67. package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
  68. package/drawer/interfaces/DrawerContentProps.d.ts +24 -0
  69. package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
  70. package/drawer/interfaces/DrawerItemProps.d.ts +129 -0
  71. package/drawer/interfaces/DrawerNavigationProps.d.ts +24 -0
  72. package/drawer/interfaces/DrawerProps.d.ts +171 -0
  73. package/drawer/interfaces/DrawerSelectEvent.d.ts +22 -0
  74. package/expansionpanel/ExpansionPanel.d.ts +13 -0
  75. package/expansionpanel/ExpansionPanel.mjs +1 -1
  76. package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
  77. package/expansionpanel/index.d.ts +10 -0
  78. package/expansionpanel/interfaces.d.ts +99 -0
  79. package/gridlayout/GridLayout.d.ts +45 -0
  80. package/gridlayout/GridLayoutItem.d.ts +44 -0
  81. package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +21 -0
  82. package/gridlayout/interfaces/GridLayoutItemProps.d.ts +87 -0
  83. package/gridlayout/interfaces/GridLayoutProps.d.ts +144 -0
  84. package/gridlayout/interfaces/GridLayoutRowProps.d.ts +21 -0
  85. package/index.d.mts +101 -6278
  86. package/index.d.ts +101 -6278
  87. package/menu/BaseMenuItemInternalProps.d.ts +29 -0
  88. package/menu/MenuProps.d.ts +189 -0
  89. package/menu/components/Menu.d.ts +132 -0
  90. package/menu/components/Menu.mjs +1 -1
  91. package/menu/components/MenuItem.d.ts +43 -0
  92. package/menu/components/MenuItemArrow.d.ts +53 -0
  93. package/menu/components/MenuItemInternal.d.ts +70 -0
  94. package/menu/components/MenuItemLink.d.ts +37 -0
  95. package/menu/consts.d.ts +65 -0
  96. package/menu/events.d.ts +45 -0
  97. package/menu/models/BaseMenuItem.d.ts +65 -0
  98. package/menu/models/MenuItemModel.d.ts +30 -0
  99. package/menu/utils/DirectionHolder.d.ts +18 -0
  100. package/menu/utils/MouseOverHandler.d.ts +24 -0
  101. package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +14 -0
  102. package/menu/utils/hoverDelay.d.ts +16 -0
  103. package/menu/utils/itemsIdsUtils.d.ts +71 -0
  104. package/menu/utils/itemsIdsUtils.mjs +49 -49
  105. package/menu/utils/misc.d.ts +23 -0
  106. package/menu/utils/prepareInputItemsForInternalWork.d.ts +13 -0
  107. package/package-metadata.d.ts +12 -0
  108. package/package-metadata.js +1 -1
  109. package/package-metadata.mjs +10 -16
  110. package/package.json +8 -8
  111. package/panelbar/PanelBar.d.ts +89 -0
  112. package/panelbar/PanelBarItem.d.ts +61 -0
  113. package/panelbar/interfaces/NavigationAction.d.ts +19 -0
  114. package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +15 -0
  115. package/panelbar/interfaces/PanelBarItemProps.d.ts +116 -0
  116. package/panelbar/interfaces/PanelBarProps.d.ts +140 -0
  117. package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +21 -0
  118. package/panelbar/interfaces/RenderPanelBarItem.d.ts +22 -0
  119. package/panelbar/util.d.ts +63 -0
  120. package/splitter/Splitter.d.ts +150 -0
  121. package/splitter/SplitterBar.d.ts +51 -0
  122. package/splitter/SplitterPane.d.ts +76 -0
  123. package/splitter/messages/index.d.ts +17 -0
  124. package/stacklayout/StackLayout.d.ts +43 -0
  125. package/stacklayout/StackLayoutProps.d.ts +97 -0
  126. package/stepper/Step.d.ts +29 -0
  127. package/stepper/Stepper.d.ts +29 -0
  128. package/stepper/contants.d.ts +15 -0
  129. package/stepper/context/StepperContext.d.ts +30 -0
  130. package/stepper/interfaces/StepChangeEvent.d.ts +18 -0
  131. package/stepper/interfaces/StepFocusEvent.d.ts +14 -0
  132. package/stepper/interfaces/StepHandle.d.ts +20 -0
  133. package/stepper/interfaces/StepProps.d.ts +95 -0
  134. package/stepper/interfaces/StepperChangeEvent.d.ts +18 -0
  135. package/stepper/interfaces/StepperFocusEvent.d.ts +14 -0
  136. package/stepper/interfaces/StepperHandle.d.ts +20 -0
  137. package/stepper/interfaces/StepperOnNavigateEvent.d.ts +38 -0
  138. package/stepper/interfaces/StepperProps.d.ts +216 -0
  139. package/stepper/messages/index.d.ts +22 -0
  140. package/tabstrip/TabStrip.d.ts +297 -0
  141. package/tabstrip/TabStrip.js +1 -1
  142. package/tabstrip/TabStrip.mjs +1 -1
  143. package/tabstrip/TabStripContent.d.ts +70 -0
  144. package/tabstrip/TabStripNavigation.d.ts +144 -0
  145. package/tabstrip/TabStripNavigation.mjs +6 -6
  146. package/tabstrip/TabStripNavigationItem.d.ts +82 -0
  147. package/tabstrip/TabStripTab.d.ts +50 -0
  148. package/tabstrip/messages/index.d.ts +22 -0
  149. package/tilelayout/InternalTile.d.ts +112 -0
  150. package/tilelayout/ResizeHandlers.d.ts +27 -0
  151. package/tilelayout/TileLayout.d.ts +228 -0
  152. package/tilelayout/interfaces/index.d.ts +159 -0
  153. package/timeline/Timeline.d.ts +205 -0
  154. package/timeline/TimelineCard.d.ts +44 -0
  155. package/timeline/TimelineHorizontal.d.ts +10 -0
  156. package/timeline/TimelineHorizontal.js +1 -1
  157. package/timeline/TimelineHorizontal.mjs +0 -2
  158. package/timeline/TimelineVertical.d.ts +19 -0
  159. package/timeline/utils.d.ts +22 -0
@@ -0,0 +1,144 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import { TabStripSize, ScrollButtons, ScrollButtonsPosition } from './TabStrip.js';
10
+ import { ButtonProps } from '@progress/kendo-react-buttons';
11
+ import * as React from 'react';
12
+ /**
13
+ * The props that are passed to the TabStripNavigation by the TabStrip.
14
+ */
15
+ export interface TabStripNavigationProps {
16
+ /**
17
+ * Sets the index of the selected tab. Controlled by the TabStrip component.
18
+ */
19
+ selected?: number;
20
+ /**
21
+ * @hidden
22
+ */
23
+ tabIndex?: number;
24
+ /**
25
+ * @hidden
26
+ */
27
+ onKeyDown?: any;
28
+ /**
29
+ * @hidden
30
+ */
31
+ tabPosition?: string;
32
+ /**
33
+ * @hidden
34
+ */
35
+ tabAlignment?: string;
36
+ /**
37
+ * @hidden
38
+ */
39
+ children?: any;
40
+ /**
41
+ * @hidden
42
+ */
43
+ onSelect?(idx: number): void;
44
+ /**
45
+ * @hidden
46
+ */
47
+ onScroll?(): void;
48
+ /**
49
+ * @hidden
50
+ */
51
+ scrollable?: boolean;
52
+ /**
53
+ * @hidden
54
+ */
55
+ scrollButtons?: ScrollButtons;
56
+ /**
57
+ * @hidden
58
+ */
59
+ scrollButtonsPosition?: ScrollButtonsPosition;
60
+ /**
61
+ * @hidden
62
+ */
63
+ size?: TabStripSize;
64
+ /**
65
+ * @hidden
66
+ */
67
+ buttonScrollSpeed?: number;
68
+ /**
69
+ * @hidden
70
+ */
71
+ mouseScrollSpeed?: number;
72
+ /**
73
+ * @hidden
74
+ */
75
+ prevButton?: React.ComponentType<ButtonProps>;
76
+ /**
77
+ * @hidden
78
+ */
79
+ nextButton?: React.ComponentType<ButtonProps>;
80
+ /**
81
+ * @hidden
82
+ */
83
+ dir?: 'ltr' | 'rtl';
84
+ /**
85
+ * @hidden
86
+ */
87
+ contentPanelId?: string;
88
+ /**
89
+ * @hidden
90
+ */
91
+ navItemId?: string;
92
+ /**
93
+ * @hidden
94
+ */
95
+ renderAllContent?: boolean;
96
+ /**
97
+ * @hidden
98
+ */
99
+ containerScrollPosition?: 'start' | 'end' | 'top' | 'bottom' | 'middle' | null;
100
+ /**
101
+ * @hidden
102
+ */
103
+ itemsNavRef?: React.RefObject<HTMLUListElement | null>;
104
+ }
105
+ export declare class TabStripNavigation extends React.Component<TabStripNavigationProps, {}> {
106
+ /**
107
+ * @hidden
108
+ */
109
+ static propTypes: {
110
+ children: PropTypes.Requireable<NonNullable<PropTypes.ReactElementLike | (PropTypes.ReactElementLike | null | undefined)[] | null | undefined>>;
111
+ onSelect: PropTypes.Requireable<(...args: any[]) => any>;
112
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
113
+ onScroll: PropTypes.Requireable<(...args: any[]) => any>;
114
+ selected: PropTypes.Requireable<number>;
115
+ tabIndex: PropTypes.Requireable<number>;
116
+ scrollable: PropTypes.Requireable<boolean>;
117
+ size: PropTypes.Requireable<string>;
118
+ scrollButtons: PropTypes.Requireable<string>;
119
+ scrollButtonsPosition: PropTypes.Requireable<string>;
120
+ containerScrollPosition: PropTypes.Requireable<string | null>;
121
+ };
122
+ private itemsNavRef;
123
+ /**
124
+ * @hidden
125
+ */
126
+ componentDidMount(): void;
127
+ /**
128
+ * @hidden
129
+ */
130
+ componentDidUpdate(prevProps: Readonly<TabStripNavigationProps>): void;
131
+ private onScroll;
132
+ /**
133
+ * @hidden
134
+ */
135
+ render(): React.JSX.Element;
136
+ private scrollToSelected;
137
+ private horizontalScroll;
138
+ private isRtl;
139
+ private arrowClickPrev;
140
+ private arrowClickNext;
141
+ private handleArrowClick;
142
+ private setNewScrollPosition;
143
+ private renderArrow;
144
+ }
@@ -10,9 +10,9 @@ import n from "prop-types";
10
10
  import { TabStripNavigationItem as x } from "./TabStripNavigationItem.mjs";
11
11
  import { classNames as v } from "@progress/kendo-react-common";
12
12
  import { Button as M } from "@progress/kendo-react-buttons";
13
- import { caretAltRightIcon as k, caretAltLeftIcon as I, caretAltUpIcon as D, caretAltDownIcon as H } from "@progress/kendo-svg-icons";
13
+ import { caretAltLeftIcon as k, caretAltRightIcon as I, caretAltDownIcon as D, caretAltUpIcon as H } from "@progress/kendo-svg-icons";
14
14
  import { provideLocalizationService as y } from "@progress/kendo-react-intl";
15
- import { prevArrowTitle as A, messages as P, nextArrowTitle as R } from "./messages/index.mjs";
15
+ import { nextArrowTitle as A, messages as P, prevArrowTitle as R } from "./messages/index.mjs";
16
16
  const W = (z) => Array.apply(null, Array(z)), b = "smooth", f = "prev", m = "next", w = class w extends h.Component {
17
17
  constructor() {
18
18
  super(...arguments), this.itemsNavRef = this.props.itemsNavRef || h.createRef(), this.onScroll = () => {
@@ -38,14 +38,14 @@ const W = (z) => Array.apply(null, Array(z)), b = "smooth", f = "prev", m = "nex
38
38
  prev: {
39
39
  arrowTab: "k-tabstrip-prev",
40
40
  fontIcon: o ? this.isRtl() ? "caret-alt-right" : "caret-alt-left" : "caret-alt-up",
41
- svgIcon: o ? this.isRtl() ? k : I : D,
42
- title: s.toLanguageString(A, P[A])
41
+ svgIcon: o ? this.isRtl() ? I : k : H,
42
+ title: s.toLanguageString(R, P[R])
43
43
  },
44
44
  next: {
45
45
  arrowTab: "k-tabstrip-next",
46
46
  fontIcon: o ? this.isRtl() ? "caret-alt-left" : "caret-alt-right" : "caret-alt-down",
47
- svgIcon: o ? this.isRtl() ? I : k : H,
48
- title: s.toLanguageString(R, P[R])
47
+ svgIcon: o ? this.isRtl() ? k : I : D,
48
+ title: s.toLanguageString(A, P[A])
49
49
  }
50
50
  }, l = (t === f ? this.props.prevButton : this.props.nextButton) || M, i = t === f ? this.arrowClickPrev : this.arrowClickNext, e = this.props.containerScrollPosition === null || t === f && (this.props.containerScrollPosition === "start" || this.props.containerScrollPosition === "top") || t === m && (this.props.containerScrollPosition === "end" || this.props.containerScrollPosition === "bottom");
51
51
  return /* @__PURE__ */ h.createElement(
@@ -0,0 +1,82 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import * as React from 'react';
10
+ /**
11
+ * The props that are passed by the TabStripNavigation to the TabStripNavigationItem.
12
+ */
13
+ export interface TabStripNavigationItemProps {
14
+ /**
15
+ * Sets the `id` property of the top element of the TabStripNavigationItem.
16
+ */
17
+ id?: string;
18
+ /**
19
+ * Defines whether the current TabStripNavigationItem is selected.
20
+ */
21
+ active?: boolean;
22
+ /**
23
+ * Defines whether the TabStripNavigationItem is disabled.
24
+ */
25
+ disabled?: boolean;
26
+ /**
27
+ * Sets the index of the TabStripNavigationItem that is used to identify it.
28
+ */
29
+ index: number;
30
+ /**
31
+ * Sets the title of the TabStripNavigationItem.
32
+ */
33
+ title?: React.ReactNode;
34
+ /**
35
+ * @hidden
36
+ */
37
+ first?: boolean;
38
+ /**
39
+ * @hidden
40
+ */
41
+ last?: boolean;
42
+ /**
43
+ * @hidden
44
+ */
45
+ onSelect?(idx: number): void;
46
+ /**
47
+ * @hidden
48
+ */
49
+ contentPanelId?: string;
50
+ /**
51
+ * @hidden
52
+ */
53
+ renderAllContent?: boolean;
54
+ }
55
+ export declare class TabStripNavigationItem extends React.Component<TabStripNavigationItemProps, {}> {
56
+ /**
57
+ * @hidden
58
+ */
59
+ static propTypes: {
60
+ active: PropTypes.Requireable<boolean>;
61
+ disabled: PropTypes.Requireable<boolean>;
62
+ index: PropTypes.Requireable<number>;
63
+ onSelect: PropTypes.Requireable<(...args: any[]) => any>;
64
+ title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
65
+ first: PropTypes.Requireable<boolean>;
66
+ last: PropTypes.Requireable<boolean>;
67
+ };
68
+ /**
69
+ * @hidden
70
+ */
71
+ private itemRef;
72
+ /**
73
+ * @hidden
74
+ */
75
+ focus: () => void;
76
+ blur: () => void;
77
+ /**
78
+ * @hidden
79
+ */
80
+ render(): React.JSX.Element;
81
+ private onClick;
82
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the TabStrip tabs.
12
+ */
13
+ export interface TabStripTabProps {
14
+ /**
15
+ * Defines whether a TabStripTab is disabled ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tabstrip/tabs#toc-disabled-items)).
16
+ *
17
+ * @default false
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * @hidden
22
+ */
23
+ children?: React.ReactNode;
24
+ /**
25
+ * Sets the TabStripTab title ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tabstrip/tabs#toc-titles)).
26
+ */
27
+ title?: React.ReactNode;
28
+ /**
29
+ * Specifies the CSS class names of the TabStripTab content.
30
+ */
31
+ contentClassName?: string;
32
+ }
33
+ /**
34
+ * Represents the TabStripTab component.
35
+ */
36
+ export declare class TabStripTab extends React.Component<TabStripTabProps, {}> {
37
+ /**
38
+ * @hidden
39
+ */
40
+ static propTypes: {
41
+ disabled: PropTypes.Requireable<boolean>;
42
+ contentClassName: PropTypes.Requireable<string>;
43
+ children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
44
+ title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
45
+ };
46
+ /**
47
+ * @hidden
48
+ */
49
+ render(): null;
50
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const prevArrowTitle = "prevArrow.title";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const nextArrowTitle = "nextArrow.title";
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const messages: {
20
+ "prevArrow.title": string;
21
+ "nextArrow.title": string;
22
+ };
@@ -0,0 +1,112 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import { TileStrictPosition, TileLayoutItem } from './interfaces/index.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface InternalTileProps extends TileLayoutItem {
15
+ update: (index: number, dRow: number, dCol: number, row: number, col: number) => void;
16
+ index: number;
17
+ defaultPosition: TileStrictPosition;
18
+ ignoreDrag?: (event: any) => boolean;
19
+ onPress: () => void;
20
+ onRelease: () => void;
21
+ children?: React.ReactNode;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface InternalTileState {
27
+ rtl: boolean;
28
+ visibleHint: boolean;
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ export declare class InternalTile extends React.Component<InternalTileProps, InternalTileState> {
34
+ /**
35
+ * @hidden
36
+ */
37
+ static propTypes: {
38
+ defaultPosition: PropTypes.Validator<object>;
39
+ style: PropTypes.Requireable<object>;
40
+ className: PropTypes.Requireable<string>;
41
+ hintStyle: PropTypes.Requireable<object>;
42
+ hintClassName: PropTypes.Requireable<string>;
43
+ header: PropTypes.Requireable<any>;
44
+ body: PropTypes.Requireable<any>;
45
+ item: PropTypes.Requireable<any>;
46
+ resizable: PropTypes.Requireable<string | boolean>;
47
+ reorderable: PropTypes.Requireable<boolean>;
48
+ };
49
+ /**
50
+ * @hidden
51
+ */
52
+ static displayName: string;
53
+ /**
54
+ * @hidden
55
+ */
56
+ static defaultProps: {
57
+ resizable: boolean;
58
+ reorderable: boolean;
59
+ };
60
+ protected get reorderable(): boolean;
61
+ state: {
62
+ rtl: boolean;
63
+ visibleHint: boolean;
64
+ };
65
+ oldSize: {};
66
+ draggable: {
67
+ element: HTMLElement | null;
68
+ } | null;
69
+ dragging: boolean;
70
+ resizing: boolean;
71
+ element: HTMLElement | null;
72
+ hintElement: HTMLElement | null;
73
+ get dragElement(): HTMLElement | null | undefined;
74
+ ignoreDrag: boolean;
75
+ pressOffset: {
76
+ x: number;
77
+ y: number;
78
+ };
79
+ pressXY: {
80
+ x: number;
81
+ y: number;
82
+ };
83
+ currentTranslate: {
84
+ x: number;
85
+ y: number;
86
+ };
87
+ preventDataOps: any;
88
+ handleResize: (e: any, q: {
89
+ end: boolean;
90
+ direction: any;
91
+ }) => void;
92
+ handlePress: (e: any) => void;
93
+ handleDrag: (e: any) => void;
94
+ handleRelease: () => void;
95
+ handleMouseDown: () => void;
96
+ handleMouseUp: () => void;
97
+ componentDidMount(): void;
98
+ render(): React.JSX.Element;
99
+ /**
100
+ * @hidden
101
+ */
102
+ getSnapshotBeforeUpdate(_: any): null;
103
+ /**
104
+ * @hidden
105
+ */
106
+ setInitialHintPosition(): void;
107
+ calcNewHintPosition: () => void;
108
+ /**
109
+ * @hidden
110
+ */
111
+ componentDidUpdate(prevProps: any): void;
112
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface ResizeHandlersProps {
13
+ resizable: string | boolean;
14
+ onResize: (e: any, args: {
15
+ end: boolean;
16
+ direction: any;
17
+ }) => void;
18
+ onPress: (e: any) => void;
19
+ rtl: boolean;
20
+ }
21
+ /**
22
+ * @hidden
23
+ */
24
+ export declare class ResizeHandlers extends React.Component<ResizeHandlersProps, {}> {
25
+ handleResize: (event: any, isEnd: boolean, direction: any) => void;
26
+ render(): React.JSX.Element | null;
27
+ }
@@ -0,0 +1,228 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import { TileLayoutGap, TileLayoutItem, TilePosition, TileLayoutRepositionEvent, TileStrictPosition, TileLayoutAutoFlow } from './interfaces/index.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * Represents the props of the [TileLayout](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout) component.
13
+ */
14
+ export interface TileLayoutProps {
15
+ /**
16
+ * Sets the `id` property of the root element.
17
+ *
18
+ * @example
19
+ * ```jsx
20
+ * <TileLayout id="tile-layout" />
21
+ * ```
22
+ */
23
+ id?: string;
24
+ /**
25
+ * Sets additional CSS styles to the TileLayout.
26
+ *
27
+ * @example
28
+ * ```jsx
29
+ * <TileLayout style={{ backgroundColor: 'lightgray' }} />
30
+ * ```
31
+ */
32
+ style?: React.CSSProperties;
33
+ /**
34
+ * Sets additional classes to the TileLayout.
35
+ *
36
+ * @example
37
+ * ```jsx
38
+ * <TileLayout className="custom-class" />
39
+ * ```
40
+ */
41
+ className?: string;
42
+ /**
43
+ * Represents the `dir` HTML attribute. Use this to switch from LTR to RTL.
44
+ *
45
+ * @example
46
+ * ```jsx
47
+ * <TileLayout dir="rtl" />
48
+ * ```
49
+ */
50
+ dir?: string;
51
+ /**
52
+ * Specifies the gaps between the tiles ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout#toc-tilelayout-configuration-options)).
53
+ *
54
+ * * The possible keys are:
55
+ * * `rows`
56
+ * * `columns`
57
+ *
58
+ * @example
59
+ * ```jsx
60
+ * <TileLayout gap={{ rows: 10, columns: 10 }} />
61
+ * ```
62
+ */
63
+ gap?: TileLayoutGap;
64
+ /**
65
+ * Specifies the default number of columns ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout#toc-tilelayout-configuration-options)).
66
+ *
67
+ * @example
68
+ * ```jsx
69
+ * <TileLayout columns={4} />
70
+ * ```
71
+ */
72
+ columns?: number;
73
+ /**
74
+ * Specifies the default width of the columns ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout#toc-tilelayout-configuration-options)).
75
+ *
76
+ * @example
77
+ * ```jsx
78
+ * <TileLayout columnWidth={200} />
79
+ * ```
80
+ */
81
+ columnWidth?: number | string;
82
+ /**
83
+ * Specifies the default height of the rows ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout#toc-tilelayout-configuration-options)).
84
+ *
85
+ * @example
86
+ * ```jsx
87
+ * <TileLayout rowHeight={100} />
88
+ * ```
89
+ */
90
+ rowHeight?: number | string;
91
+ /**
92
+ * Represents the `key` field of the TileLayout item. Used for setting unique keys to the TileLayout items.
93
+ *
94
+ * @example
95
+ * ```jsx
96
+ * <TileLayout dataItemKey="id" />
97
+ * ```
98
+ */
99
+ dataItemKey?: string;
100
+ /**
101
+ * The collection of items that will be rendered in the TileLayout
102
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout#toc-tilelayout-configuration-options)).
103
+ *
104
+ * @example
105
+ * ```jsx
106
+ * <TileLayout items={[{ header: 'Header', body: 'Body' }]} />
107
+ * ```
108
+ */
109
+ items?: TileLayoutItem[];
110
+ /**
111
+ * The list of tiles' positions which are used when the TileLayout is in controlled mode
112
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout/tiles#toc-controlling-the-position)).
113
+ *
114
+ * @example
115
+ * ```jsx
116
+ * <TileLayout positions={[{ col: 1, row: 1 }]} />
117
+ * ```
118
+ */
119
+ positions?: TilePosition[];
120
+ /**
121
+ * Fires when the user repositions the tile by either dragging or resizing
122
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout/tiles#toc-controlling-the-position)).
123
+ *
124
+ * @example
125
+ * ```jsx
126
+ * <TileLayout onReposition={(e) => console.log(e.value)} />
127
+ * ```
128
+ */
129
+ onReposition?: (event: TileLayoutRepositionEvent) => void;
130
+ /**
131
+ * Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the TileLayout.
132
+ * For further reference, check [grid-auto-flow CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow) article.
133
+ *
134
+ * @default column
135
+ *
136
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout/auto-flows)).
137
+ *
138
+ * @example
139
+ * ```jsx
140
+ * <TileLayout autoFlow="row" />
141
+ * ```
142
+ */
143
+ autoFlow?: TileLayoutAutoFlow;
144
+ /**
145
+ * Use this callback to prevent or allow dragging of the tiles based on specific DOM events.
146
+ * Setting `ignoreDrag={(e) => { return !(e.target.classList.contains("k-card-title")); }}` makes only the headers draggable.
147
+ * Setting `ignoreDrag={(e) => { return e.target.nodeName == "INPUT"; }}` ignores dragging input elements.
148
+ *
149
+ * @example
150
+ * ```jsx
151
+ * <TileLayout ignoreDrag={(e) => e.target.nodeName === 'INPUT'} />
152
+ * ```
153
+ */
154
+ ignoreDrag?: (event: any) => boolean;
155
+ }
156
+ /**
157
+ * @hidden
158
+ */
159
+ export interface TileLayoutState {
160
+ positions: TileStrictPosition[];
161
+ activeHint?: boolean;
162
+ }
163
+ /**
164
+ * Represents the [KendoReact TileLayout component](https://www.telerik.com/kendo-react-ui/components/layout/tilelayout).
165
+ */
166
+ export declare class TileLayout extends React.Component<TileLayoutProps, TileLayoutState> {
167
+ /**
168
+ * @hidden
169
+ */
170
+ static propTypes: {
171
+ id: PropTypes.Requireable<string>;
172
+ style: PropTypes.Requireable<object>;
173
+ className: PropTypes.Requireable<string>;
174
+ dir: PropTypes.Requireable<string>;
175
+ gap: PropTypes.Requireable<object>;
176
+ columns: PropTypes.Requireable<number>;
177
+ columnWidth: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
178
+ rowHeight: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
179
+ dataItemKey: PropTypes.Requireable<string>;
180
+ items: PropTypes.Requireable<any[]>;
181
+ positions: PropTypes.Requireable<any[]>;
182
+ autoFlow: PropTypes.Requireable<string>;
183
+ onReposition: PropTypes.Requireable<(...args: any[]) => any>;
184
+ ignoreDrag: PropTypes.Requireable<(...args: any[]) => any>;
185
+ };
186
+ /**
187
+ * @hidden
188
+ */
189
+ static displayName: string;
190
+ /**
191
+ * @hidden
192
+ */
193
+ _element: HTMLDivElement | null;
194
+ /**
195
+ * @hidden
196
+ */
197
+ state: {
198
+ positions: ({
199
+ order: number;
200
+ rowSpan: number;
201
+ colSpan: number;
202
+ } & TilePosition)[];
203
+ activeHint: boolean;
204
+ };
205
+ /**
206
+ * Gets the HTML element of the TileLayout component.
207
+ */
208
+ get element(): HTMLDivElement | null;
209
+ /**
210
+ * @hidden
211
+ */
212
+ focus: () => void;
213
+ /**
214
+ * @hidden
215
+ */
216
+ static getDerivedStateFromProps(props: TileLayoutProps, state: TileLayoutState): {
217
+ positions: ({
218
+ order: number;
219
+ rowSpan: number;
220
+ colSpan: number;
221
+ } & TilePosition)[];
222
+ } | null;
223
+ /**
224
+ * @hidden
225
+ */
226
+ update: (index: number, dOrder: number, dCol: number, dRowSpan?: number, dColSpan?: number) => void;
227
+ render(): React.JSX.Element;
228
+ }