@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,238 @@
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 { BottomNavigationItemProps } from './BottomNavigationItemProps.js';
9
+ import { BottomNavigationEvent, BottomNavigationSelectEvent } from './models/events.js';
10
+ /**
11
+ * Represents the props of the [KendoReact BottomNavigation component](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation).
12
+ */
13
+ export interface BottomNavigationProps {
14
+ /**
15
+ * Sets additional CSS classes to the BottomNavigation.
16
+ *
17
+ * @example
18
+ * ```jsx
19
+ * <BottomNavigation className="custom-class" />
20
+ * ```
21
+ */
22
+ className?: string;
23
+ /**
24
+ * Sets additional CSS styles to the BottomNavigation.
25
+ *
26
+ * @example
27
+ * ```jsx
28
+ * <BottomNavigation style={{ backgroundColor: 'blue' }} />
29
+ * ```
30
+ */
31
+ style?: React.CSSProperties;
32
+ /**
33
+ * Sets the `id` property of the root BottomNavigation element.
34
+ *
35
+ * @example
36
+ * ```jsx
37
+ * <BottomNavigation id="bottomNav1" />
38
+ * ```
39
+ */
40
+ id?: string;
41
+ /**
42
+ * Represents the `dir` HTML attribute. Use this to switch from LTR to RTL.
43
+ *
44
+ * @example
45
+ * ```jsx
46
+ * <BottomNavigation dir="rtl" />
47
+ * ```
48
+ */
49
+ dir?: string;
50
+ /**
51
+ * Specifies the BottomNavigation theme color
52
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/appearance#toc-theme-color)).
53
+ *
54
+ * The possible values are:
55
+ * * `primary` &mdash; Applies coloring based on the primary theme color.
56
+ * * `secondary` &mdash; Applies coloring based on the secondary theme color.
57
+ * * `tertiary` &mdash; Applies coloring based on the tertiary theme color.
58
+ * * `info` &mdash; Applies coloring based on the info theme color.
59
+ * * `success` &mdash; Applies coloring based on the success theme color.
60
+ * * `warning` &mdash; Applies coloring based on the warning theme color.
61
+ * * `error` &mdash; Applies coloring based on the error theme color.
62
+ * * `dark` &mdash; Applies coloring based on the dark theme color.
63
+ * * `light` &mdash; Applies coloring based on the light theme color.
64
+ * * `inverse` &mdash; Applies coloring based on the inverted theme color.
65
+ *
66
+ * @default undefined (theme-controlled)
67
+ *
68
+ * @example
69
+ * ```jsx
70
+ * <BottomNavigation themeColor="primary" />
71
+ * ```
72
+ */
73
+ themeColor?: BottomNavigationThemeColor;
74
+ /**
75
+ * The BottomNavigation fill style
76
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/appearance#toc-fill)).
77
+ *
78
+ * The possible values are:
79
+ * * `flat` &mdash; Sets the theme color as the text color. The background will be white.
80
+ * * `solid` &mdash; Sets the theme color as a background color.
81
+ *
82
+ * @default undefined (theme-controlled)
83
+ *
84
+ * @example
85
+ * ```jsx
86
+ * <BottomNavigation fillMode="solid" />
87
+ * ```
88
+ */
89
+ fillMode?: BottomNavigationFill;
90
+ /**
91
+ * Specifies the BottomNavigation position and behavior when the page is scrolled
92
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/positioning#toc-position-mode)).
93
+ *
94
+ * The possible values are:
95
+ * * `fixed`(Default) &mdash; The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
96
+ * * `sticky` &mdash; Positions the BottomNavigation based on the user's scroll position. A sticky element toggles between static
97
+ * and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
98
+ * It is positioned static until a given offset position is met in the viewport - then it "sticks" in place like `fixed` positionMode.
99
+ *
100
+ * @default fixed
101
+ *
102
+ * @example
103
+ * ```jsx
104
+ * <BottomNavigation positionMode="sticky" />
105
+ * ```
106
+ */
107
+ positionMode?: BottomNavigationPositionMode;
108
+ /**
109
+ * Specifies how the icon and text label are positioned in each BottomNavigation item
110
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/content-types#toc-item-flow)).
111
+ *
112
+ * The possible values are:
113
+ * * `vertical`(Default) &mdash; Renders the text below the icon.
114
+ * * `horizontal` &mdash; Renders the text and the icon on the same line.
115
+ *
116
+ * @default vertical
117
+ *
118
+ * @example
119
+ * ```jsx
120
+ * <BottomNavigation itemFlow="horizontal" />
121
+ * ```
122
+ */
123
+ itemFlow?: BottomNavigationItemFlow;
124
+ /**
125
+ * Sets a border to the BottomNavigation.
126
+ *
127
+ * @default false
128
+ *
129
+ * @example
130
+ * ```jsx
131
+ * <BottomNavigation border={true} />
132
+ * ```
133
+ */
134
+ border?: boolean;
135
+ /**
136
+ * Disables the whole BottomNavigation.
137
+ *
138
+ * @default false
139
+ *
140
+ * @example
141
+ * ```jsx
142
+ * <BottomNavigation disabled={true} />
143
+ * ```
144
+ */
145
+ disabled?: boolean;
146
+ /**
147
+ * The collection of items that will be rendered in the BottomNavigation ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation)).
148
+ *
149
+ * @example
150
+ * ```jsx
151
+ * const items = [{ text: 'Home', icon: 'home' }, { text: 'Profile', icon: 'user' }];
152
+ * <BottomNavigation items={items} />
153
+ * ```
154
+ */
155
+ items?: Array<BottomNavigationItemProps>;
156
+ /**
157
+ * Overrides the default component's content responsible for visualizing a single item
158
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/custom-rendering#toc-custom-rendering)).
159
+ *
160
+ * @example
161
+ * ```jsx
162
+ * const CustomItem = (props) => <div>{props.text}</div>;
163
+ * <BottomNavigation item={CustomItem} />
164
+ * ```
165
+ */
166
+ item?: React.ComponentType<BottomNavigationItemProps>;
167
+ /**
168
+ * Fires when a BottomNavigation item is about to be rendered
169
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/custom-rendering#toc-item-render-property)).
170
+ * Used to override the default appearance of the items.
171
+ */
172
+ itemRender?: (span: React.ReactElement<HTMLSpanElement>, itemProps: BottomNavigationItemProps) => React.ReactNode;
173
+ /**
174
+ * Fires when a BottomNavigation item is selected.
175
+ *
176
+ * @example
177
+ * ```jsx
178
+ * <BottomNavigation onSelect={(e) => console.log(e.item)} />
179
+ * ```
180
+ */
181
+ onSelect?: (event: BottomNavigationSelectEvent) => void;
182
+ /**
183
+ * Triggered on `onKeyDown` event.
184
+ *
185
+ * @example
186
+ * ```jsx
187
+ * <BottomNavigation onKeyDown={(e) => console.log('Key pressed')} />
188
+ * ```
189
+ */
190
+ onKeyDown?: (event: BottomNavigationEvent) => void;
191
+ }
192
+ /**
193
+ * The BottomNavigation fill style
194
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/appearance#toc-fill)).
195
+ *
196
+ * The possible values are:
197
+ * * `flat`(Default) &mdash; Sets the theme color as the text color. The background will be white.
198
+ * * `solid` &mdash; Sets the theme color as a background color.
199
+ *
200
+ */
201
+ export type BottomNavigationFill = 'solid' | 'flat';
202
+ /**
203
+ * Specifies how the icon and text label are positioned in each BottomNavigation item
204
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/content-types#toc-item-flow)).
205
+ *
206
+ * The possible values are:
207
+ * * `vertical`(Default) &mdash; Renders the text below the icon.
208
+ * * `horizontal` &mdash; Renders the text and the icon on the same line.
209
+ */
210
+ export type BottomNavigationItemFlow = 'vertical' | 'horizontal';
211
+ /**
212
+ * Specifies the BottomNavigation theme color.
213
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/appearance#toc-theme-color)).
214
+ *
215
+ * The possible values are:
216
+ * * `primary` (Default) &mdash; Applies coloring based on the primary theme color.
217
+ * * `secondary` &mdash; Applies coloring based on the secondary theme color.
218
+ * * `tertiary` &mdash; Applies coloring based on the tertiary theme color.
219
+ * * `info` &mdash; Applies coloring based on the info theme color.
220
+ * * `success` &mdash; Applies coloring based on the success theme color.
221
+ * * `warning` &mdash; Applies coloring based on the warning theme color.
222
+ * * `error` &mdash; Applies coloring based on the error theme color.
223
+ * * `dark` &mdash; Applies coloring based on the dark theme color.
224
+ * * `light` &mdash; Applies coloring based on the light theme color.
225
+ * * `inverse` &mdash; Applies coloring based on the inverted theme color.
226
+ */
227
+ export type BottomNavigationThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
228
+ /**
229
+ * Specifies the BottomNavigation position and behavior when the page is scrolled
230
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/positioning#toc-position-mode)).
231
+ *
232
+ * The possible values are:
233
+ * * `fixed`(Default) &mdash; The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
234
+ * * `sticky` &mdash; Positions the BottomNavigation based on the user's scroll position. A sticky element toggles between
235
+ * static and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
236
+ * It is positioned static until a given offset position is met in the viewport - then it "sticks" in place like `fixed` positionMode.
237
+ */
238
+ export type BottomNavigationPositionMode = 'sticky' | 'fixed';
@@ -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 { BottomNavigationHandle } from '../BottomNavigation.js';
9
+ import { BaseEvent } from '@progress/kendo-react-common';
10
+ /**
11
+ * The arguments for the `onSelect` BottomNavigation event.
12
+ */
13
+ export interface BottomNavigationSelectEvent extends BaseEvent<BottomNavigationHandle> {
14
+ /**
15
+ * A BottomNavigation item event target.
16
+ */
17
+ itemTarget: any;
18
+ /**
19
+ * The index of the selected BottomNavigation item.
20
+ */
21
+ itemIndex: number;
22
+ }
23
+ /**
24
+ * Represents the return type of the BottomNavigation events.
25
+ */
26
+ export interface BottomNavigationEvent extends BaseEvent<BottomNavigationHandle> {
27
+ }
@@ -0,0 +1,43 @@
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 THEME_COLOR_CLASSES: {
12
+ primary: string;
13
+ secondary: string;
14
+ tertiary: string;
15
+ info: string;
16
+ success: string;
17
+ warning: string;
18
+ error: string;
19
+ dark: string;
20
+ light: string;
21
+ inverse: string;
22
+ };
23
+ /**
24
+ * @hidden
25
+ */
26
+ export declare const FILL_CLASSES: {
27
+ flat: string;
28
+ solid: string;
29
+ };
30
+ /**
31
+ * @hidden
32
+ */
33
+ export declare const ITEM_FLOW_CLASSES: {
34
+ vertical: string;
35
+ horizontal: string;
36
+ };
37
+ /**
38
+ * @hidden
39
+ */
40
+ export declare const POSITION_MODE_CLASSES: {
41
+ fixed: string;
42
+ sticky: string;
43
+ };
@@ -0,0 +1,276 @@
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 { BaseEvent } from '@progress/kendo-react-common';
9
+ import { BreadcrumbListItemProps } from './BreadcrumbListItem.js';
10
+ import { BreadcrumbDelimiterProps } from './BreadcrumbDelimiter.js';
11
+ import { BreadcrumbLinkHandle, BreadcrumbLinkProps } from './BreadcrumbLink.js';
12
+ import { BreadcrumbOrderedListProps } from './BreadcrumbOrderedList.js';
13
+ import * as React from 'react';
14
+ /**
15
+ * Represents the props of [Breadcrumb](https://www.telerik.com/kendo-react-ui/components/layout/api/breadcrumb) component.
16
+ */
17
+ export interface BreadcrumbProps {
18
+ /**
19
+ * Sets the `id` property of the top `div` element of the Breadcrumb.
20
+ *
21
+ * @example
22
+ * ```jsx
23
+ * <Breadcrumb id="breadcrumb1" />
24
+ * ```
25
+ */
26
+ id?: string;
27
+ /**
28
+ * Sets additional CSS styles to the Breadcrumb.
29
+ *
30
+ * @example
31
+ * ```jsx
32
+ * <Breadcrumb style={{ backgroundColor: 'lightgray' }} />
33
+ * ```
34
+ */
35
+ style?: React.CSSProperties;
36
+ /**
37
+ * Sets additional classes to the Breadcrumb.
38
+ *
39
+ * @example
40
+ * ```jsx
41
+ * <Breadcrumb className="custom-breadcrumb" />
42
+ * ```
43
+ */
44
+ className?: string;
45
+ /**
46
+ * Represents the Breadcrumb ordered list component.
47
+ *
48
+ * @example
49
+ * ```jsx
50
+ * const CustomOrderedList = (props) => <ol {...props} />;
51
+ * <Breadcrumb breadcrumbOrderedList={CustomOrderedList} />
52
+ * ```
53
+ */
54
+ breadcrumbOrderedList?: React.ComponentType<BreadcrumbOrderedListProps>;
55
+ /**
56
+ * Represents the Breadcrumb list item component.
57
+ *
58
+ * @example
59
+ * ```jsx
60
+ * const CustomListItem = (props) => <li {...props}>{props.children}</li>;
61
+ * <Breadcrumb breadcrumbListItem={CustomListItem} />
62
+ * ```
63
+ */
64
+ breadcrumbListItem?: React.ComponentType<BreadcrumbListItemProps>;
65
+ /**
66
+ * Represents the Breadcrumb delimiter component.
67
+ *
68
+ * @example
69
+ * ```jsx
70
+ * const CustomDelimiter = () => <span>/</span>;
71
+ * <Breadcrumb breadcrumbDelimiter={CustomDelimiter} />
72
+ * ```
73
+ */
74
+ breadcrumbDelimiter?: React.ComponentType<BreadcrumbDelimiterProps>;
75
+ /**
76
+ * Represents the Breadcrumb link component.
77
+ *
78
+ * @example
79
+ * ```jsx
80
+ * const CustomLink = (props) => <a {...props} />;
81
+ * <Breadcrumb breadcrumbLink={CustomLink} />
82
+ * ```
83
+ */
84
+ breadcrumbLink?: React.ComponentType<BreadcrumbLinkProps>;
85
+ /**
86
+ * Represents the data of the Breadcrumb from type DataModel.
87
+ *
88
+ * @example
89
+ * ```jsx
90
+ * const data = [{ id: '1', text: 'Home' }, { id: '2', text: 'Products' }];
91
+ * <Breadcrumb data={data} />
92
+ * ```
93
+ */
94
+ data: DataModel[];
95
+ /**
96
+ * Specifies the Breadcrumb padding for all elements.
97
+ *
98
+ * The possible values are:
99
+ * * `small`
100
+ * * `medium`
101
+ * * `large`
102
+ *
103
+ * @default undefined (theme-controlled)
104
+ *
105
+ * @example
106
+ * ```jsx
107
+ * <Breadcrumb size="large" />
108
+ * ```
109
+ */
110
+ size?: 'small' | 'medium' | 'large';
111
+ /**
112
+ * The Breadcrumb direction `ltr` or `rtl`.
113
+ *
114
+ * @example
115
+ * ```jsx
116
+ * <Breadcrumb dir="rtl" />
117
+ * ```
118
+ */
119
+ dir?: 'ltr' | 'rtl';
120
+ /**
121
+ * Sets the `tabIndex` attribute to the Breadcrumb.
122
+ *
123
+ * @example
124
+ * ```jsx
125
+ * <Breadcrumb tabIndex={0} />
126
+ * ```
127
+ */
128
+ tabIndex?: number;
129
+ /**
130
+ * Determines the `disabled` mode of the Breadcrumb. If `true`, the component is disabled.
131
+ *
132
+ * @default false
133
+ *
134
+ * @example
135
+ * ```jsx
136
+ * <Breadcrumb disabled={true} />
137
+ * ```
138
+ */
139
+ disabled?: boolean;
140
+ /**
141
+ * Represents the `value` field. Used for setting the key of the BreadcrumbListItem component and the `id` of the BreadcrumbLink component.
142
+ *
143
+ * @default id
144
+ *
145
+ * @example
146
+ * ```jsx
147
+ * <Breadcrumb valueField="customId" />
148
+ * ```
149
+ */
150
+ valueField?: string;
151
+ /**
152
+ * Represents the `text` field. Used for setting the `text` inside the BreadcrumbLink component.
153
+ *
154
+ * @default text
155
+ *
156
+ * @example
157
+ * ```jsx
158
+ * <Breadcrumb textField="customText" />
159
+ * ```
160
+ */
161
+ textField?: string;
162
+ /**
163
+ * Represents the `icon` field. Used for setting the `icon` inside the BreadcrumbLink component.
164
+ *
165
+ * @default icon
166
+ *
167
+ * @example
168
+ * ```jsx
169
+ * <Breadcrumb iconField="customIcon" />
170
+ * ```
171
+ */
172
+ iconField?: string;
173
+ /**
174
+ * Represents the `iconClass` field. Used for setting the `iconClass` inside the BreadcrumbLink component.
175
+ *
176
+ * @default iconClass
177
+ *
178
+ * @example
179
+ * ```jsx
180
+ * <Breadcrumb iconClassField="customIconClass" />
181
+ * ```
182
+ */
183
+ iconClassField?: string;
184
+ /**
185
+ * Represents the `onItemSelect` event. Triggered after click on the Breadcrumb.
186
+ *
187
+ * @example
188
+ * ```jsx
189
+ * <Breadcrumb onItemSelect={(e) => console.log(e.id)} />
190
+ * ```
191
+ */
192
+ onItemSelect?: (event: BreadcrumbLinkMouseEvent) => void;
193
+ /**
194
+ * Represents the `onKeyDown` event. Triggered after keyboard click on the Breadcrumb.
195
+ *
196
+ * @example
197
+ * ```jsx
198
+ * <Breadcrumb onKeyDown={(e) => console.log(e.id)} />
199
+ * ```
200
+ */
201
+ onKeyDown?: (event: BreadcrumbLinkKeyDownEvent) => void;
202
+ /**
203
+ * Represents the label of the Breadcrumb component.
204
+ *
205
+ * @example
206
+ * ```jsx
207
+ * <Breadcrumb ariaLabel="Breadcrumb navigation" />
208
+ * ```
209
+ */
210
+ ariaLabel?: string;
211
+ }
212
+ /**
213
+ * Represents the DataModel object type.
214
+ */
215
+ export interface DataModel {
216
+ /**
217
+ * Represents the `id` of the data object.
218
+ * Used for setting the `key` of the BreadcrumbListItem component and the `id` of the BreadcrumbLink component.
219
+ */
220
+ id?: string;
221
+ /**
222
+ * Represents the `text` used inside the BreadcrumbLink component.
223
+ */
224
+ text?: string;
225
+ /**
226
+ * Represents the `icon` used inside the BreadcrumbLink component.
227
+ */
228
+ icon?: React.ReactNode;
229
+ /**
230
+ * Represents the `iconClass` used inside the BreadcrumbLink component.
231
+ */
232
+ iconClass?: string;
233
+ /**
234
+ * @hidden
235
+ */
236
+ disabled?: boolean;
237
+ }
238
+ /**
239
+ * Represents the target (element, props, and focus()) of the `BreadcrumbClickEvent`.
240
+ */
241
+ export interface BreadcrumbHandle {
242
+ /**
243
+ * The current element or `null` if there is none.
244
+ */
245
+ element: HTMLDivElement | null;
246
+ /**
247
+ * The props values of the Breadcrumb.
248
+ */
249
+ props: BreadcrumbProps;
250
+ /**
251
+ * The `focus` method of the Breadcrumb component.
252
+ */
253
+ focus: () => void;
254
+ }
255
+ /**
256
+ * Represents the `BreadcrumbLinkMouseEvent`.
257
+ */
258
+ export interface BreadcrumbLinkMouseEvent extends BaseEvent<BreadcrumbLinkHandle> {
259
+ /**
260
+ * Represents the `id` of the `BreadcrumbLinkMouseEvent`.
261
+ */
262
+ id?: string;
263
+ }
264
+ /**
265
+ * Represents the `BreadcrumbLinkKeyDownEvent`.
266
+ */
267
+ export interface BreadcrumbLinkKeyDownEvent extends BaseEvent<BreadcrumbLinkHandle> {
268
+ /**
269
+ * Represents the `id` of the `BreadcrumbLinkKeyDownEvent`.
270
+ */
271
+ id?: string;
272
+ }
273
+ /**
274
+ * Represents the Breadcrumb component.
275
+ */
276
+ export declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<BreadcrumbHandle | null>>;
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),i=require("prop-types"),o=require("@progress/kendo-react-common"),h=require("./BreadcrumbListItem.js"),T=require("./BreadcrumbDelimiter.js"),M=require("./BreadcrumbLink.js"),R=require("./BreadcrumbOrderedList.js");function q(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(l,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return l.default=e,Object.freeze(l)}const r=q(B),F=r.forwardRef((e,l)=>{const n=r.useRef(null),a=r.useRef(null),y=r.useMemo(()=>e.breadcrumbOrderedList||R.BreadcrumbOrderedList,[e.breadcrumbOrderedList]),L=r.useMemo(()=>e.breadcrumbListItem||h.BreadcrumbListItem,[e.breadcrumbListItem]),O=r.useMemo(()=>e.breadcrumbDelimiter||T.BreadcrumbDelimiter,[e.breadcrumbDelimiter]),I=r.useMemo(()=>e.breadcrumbLink||M.BreadcrumbLink,[e.breadcrumbLink]),D=r.useCallback(()=>{a.current&&a.current.focus()},[a]),E=r.useMemo(()=>e.disabled||!1,[e.disabled]);r.useImperativeHandle(n,()=>({element:a.current,focus:D,props:e})),r.useImperativeHandle(l,()=>n.current);const g=o.useDir(a,e.dir),k=t=>{n.current&&o.dispatchEvent(e.onItemSelect,t,t.target,{id:t.target.id})},C=t=>{n.current&&o.dispatchEvent(e.onKeyDown,t,t.target,{id:t.target.id})},S=e.valueField||b.valueField,v=e.iconField||b.iconField,m=e.iconClassField||b.iconClassField,u=e.textField||b.textField,f=e.size||"medium";return r.createElement("nav",{"aria-label":e.ariaLabel,id:e.id,style:e.style,ref:a,dir:g,className:o.classNames("k-breadcrumb k-breadcrumb-wrap",{"k-rtl":g==="rtl","k-disabled":E,"k-breadcrumb-md":!e.size,[`k-breadcrumb-${o.kendoThemeMaps.sizeMap[f]||f}`]:f},e.className)},r.createElement(y,{rootItem:!0},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[S];if(c===0)return r.createElement(L,{key:d,isFirstItem:!0,isLastItem:s.length-1===c},r.createElement(I,{isLast:s.length-1===c,isFirst:!0,id:String(d),icon:t[v]||void 0,iconClass:t[m]?String(t[m]):void 0,text:t[u]?String(t[u]):void 0,disabled:t.disabled||!1,onItemSelect:k,onKeyDown:C,...e}))}))),r.createElement(y,{rootItem:!1},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[S];if(c!==0)return r.createElement(L,{key:d,isFirstItem:!1,isLastItem:s.length-1===c},r.createElement(O,{dir:g}),r.createElement(I,{isLast:s.length-1===c,isFirst:!1,id:String(d),icon:t[v]||void 0,iconClass:t[m]?String(t[m]):void 0,text:t[u]?String(t[u]):void 0,disabled:t.disabled||!1,onItemSelect:k,onKeyDown:C,...e}))}))))}),w={id:i.string,style:i.object,className:i.string,breadcrumbOrderedList:i.elementType,breadcrumbListItem:i.elementType,breadcrumbDelimiter:i.elementType,breadcrumbLink:i.elementType,data:i.arrayOf(i.shape({id:i.string,text:i.string,icon:i.any,iconClass:i.string})),dir:i.oneOf(["ltr","rtl"]),disabled:i.bool,valueField:i.string,textField:i.string,iconField:i.string,iconClassField:i.string,onItemSelect:i.func,ariaLabel:i.string},b={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};F.displayName="KendoReactBreadcrumb";F.propTypes=w;exports.Breadcrumb=F;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),i=require("prop-types"),o=require("@progress/kendo-react-common"),h=require("./BreadcrumbListItem.js"),T=require("./BreadcrumbDelimiter.js"),M=require("./BreadcrumbLink.js"),R=require("./BreadcrumbOrderedList.js");function q(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(l,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return l.default=e,Object.freeze(l)}const r=q(B),F=r.forwardRef((e,l)=>{const n=r.useRef(null),a=r.useRef(null),y=r.useMemo(()=>e.breadcrumbOrderedList||R.BreadcrumbOrderedList,[e.breadcrumbOrderedList]),L=r.useMemo(()=>e.breadcrumbListItem||h.BreadcrumbListItem,[e.breadcrumbListItem]),O=r.useMemo(()=>e.breadcrumbDelimiter||T.BreadcrumbDelimiter,[e.breadcrumbDelimiter]),I=r.useMemo(()=>e.breadcrumbLink||M.BreadcrumbLink,[e.breadcrumbLink]),D=r.useCallback(()=>{a.current&&a.current.focus()},[a]),E=r.useMemo(()=>e.disabled||!1,[e.disabled]);r.useImperativeHandle(n,()=>({element:a.current,focus:D,props:e})),r.useImperativeHandle(l,()=>n.current);const g=o.useDir(a,e.dir),k=t=>{n.current&&o.dispatchEvent(e.onItemSelect,t,t.target,{id:t.target.id})},C=t=>{n.current&&o.dispatchEvent(e.onKeyDown,t,t.target,{id:t.target.id})},S=e.valueField||b.valueField,v=e.iconField||b.iconField,u=e.iconClassField||b.iconClassField,m=e.textField||b.textField,f=e.size||"medium";return r.createElement("nav",{"aria-label":e.ariaLabel,id:e.id,style:e.style,ref:a,dir:g,className:o.classNames("k-breadcrumb k-breadcrumb-wrap",{"k-rtl":g==="rtl","k-disabled":E,[`k-breadcrumb-${o.kendoThemeMaps.sizeMap[f]||f}`]:f},e.className)},r.createElement(y,{rootItem:!0},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[S];if(c===0)return r.createElement(L,{key:d,isFirstItem:!0,isLastItem:s.length-1===c},r.createElement(I,{isLast:s.length-1===c,isFirst:!0,id:String(d),icon:t[v]||void 0,iconClass:t[u]?String(t[u]):void 0,text:t[m]?String(t[m]):void 0,disabled:t.disabled||!1,onItemSelect:k,onKeyDown:C,...e}))}))),r.createElement(y,{rootItem:!1},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[S];if(c!==0)return r.createElement(L,{key:d,isFirstItem:!1,isLastItem:s.length-1===c},r.createElement(O,{dir:g}),r.createElement(I,{isLast:s.length-1===c,isFirst:!1,id:String(d),icon:t[v]||void 0,iconClass:t[u]?String(t[u]):void 0,text:t[m]?String(t[m]):void 0,disabled:t.disabled||!1,onItemSelect:k,onKeyDown:C,...e}))}))))}),w={id:i.string,style:i.object,className:i.string,breadcrumbOrderedList:i.elementType,breadcrumbListItem:i.elementType,breadcrumbDelimiter:i.elementType,breadcrumbLink:i.elementType,data:i.arrayOf(i.shape({id:i.string,text:i.string,icon:i.any,iconClass:i.string})),dir:i.oneOf(["ltr","rtl"]),disabled:i.bool,valueField:i.string,textField:i.string,iconField:i.string,iconClassField:i.string,onItemSelect:i.func,ariaLabel:i.string},b={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};F.displayName="KendoReactBreadcrumb";F.propTypes=w;exports.Breadcrumb=F;
@@ -48,7 +48,6 @@ const v = r.forwardRef((e, E) => {
48
48
  {
49
49
  "k-rtl": u === "rtl",
50
50
  "k-disabled": h,
51
- "k-breadcrumb-md": !e.size,
52
51
  [`k-breadcrumb-${O.sizeMap[b] || b}`]: b
53
52
  },
54
53
  e.className
@@ -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 * as React from 'react';
9
+ /**
10
+ * Represents the props of [BreadcrumbDelimiter](https://www.telerik.com/kendo-react-ui/components/layout/api/breadcrumbdelimiter) component.
11
+ */
12
+ export interface BreadcrumbDelimiterProps {
13
+ /**
14
+ * Sets the `id` property of the BreadcrumbDelimiter component.
15
+ */
16
+ id?: string;
17
+ /**
18
+ * Sets additional classes to the BreadcrumbDelimiter component.
19
+ */
20
+ className?: string;
21
+ /**
22
+ * Sets additional CSS styles to the BreadcrumbDelimiter component.
23
+ */
24
+ style?: React.CSSProperties;
25
+ /**
26
+ * Sets the `tabIndex` attribute to the BreadcrumbDelimiter.
27
+ */
28
+ tabIndex?: number;
29
+ /**
30
+ * @hidden
31
+ */
32
+ dir?: string;
33
+ }
34
+ /**
35
+ * Represents the target (element, props, and focus()) of the BreadcrumbDelimiter.
36
+ */
37
+ export interface BreadcrumbDelimiterHandle {
38
+ /**
39
+ * The current element or `null` if there is none.
40
+ */
41
+ element: HTMLSpanElement | null;
42
+ /**
43
+ * The props values of the BreadcrumbDelimiter.
44
+ */
45
+ props: BreadcrumbDelimiterProps;
46
+ }
47
+ /**
48
+ * Represents the BreadcrumbDelimiter component.
49
+ */
50
+ export declare const BreadcrumbDelimiter: React.ForwardRefExoticComponent<BreadcrumbDelimiterProps & React.RefAttributes<BreadcrumbDelimiterHandle | null>>;