@progress/kendo-react-layout 13.3.0 → 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.
- package/actionsheet/ActionSheet.d.ts +242 -0
- package/actionsheet/ActionSheetContent.d.ts +17 -0
- package/actionsheet/ActionSheetFooter.d.ts +42 -0
- package/actionsheet/ActionSheetHeader.d.ts +17 -0
- package/actionsheet/ActionSheetItem.d.ts +13 -0
- package/actionsheet/ActionSheetView.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +20 -0
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +76 -0
- package/appbar/AppBar.d.ts +56 -0
- package/appbar/AppBar.js +1 -1
- package/appbar/AppBar.mjs +10 -10
- package/appbar/AppBarSection.d.ts +55 -0
- package/appbar/AppBarSpacer.d.ts +56 -0
- package/appbar/interfaces/AppBarProps.d.ts +143 -0
- package/appbar/interfaces/AppBarSectionProps.d.ts +25 -0
- package/appbar/interfaces/AppBarSpacerProps.d.ts +26 -0
- package/bottomnavigation/BottomNavigation.d.ts +44 -0
- package/bottomnavigation/BottomNavigation.js +1 -1
- package/bottomnavigation/BottomNavigation.mjs +13 -13
- package/bottomnavigation/BottomNavigationItem.d.ts +19 -0
- package/bottomnavigation/BottomNavigationItem.mjs +3 -3
- package/bottomnavigation/BottomNavigationItemProps.d.ts +120 -0
- package/bottomnavigation/BottomNavigationProps.d.ts +238 -0
- package/bottomnavigation/models/events.d.ts +27 -0
- package/bottomnavigation/models/utils.d.ts +43 -0
- package/breadcrumb/Breadcrumb.d.ts +276 -0
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Breadcrumb.mjs +0 -1
- package/breadcrumb/BreadcrumbDelimiter.d.ts +50 -0
- package/breadcrumb/BreadcrumbLink.d.ts +136 -0
- package/breadcrumb/BreadcrumbLink.mjs +3 -3
- package/breadcrumb/BreadcrumbListItem.d.ts +58 -0
- package/breadcrumb/BreadcrumbOrderedList.d.ts +62 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +5 -5
- package/card/Avatar.d.ts +10 -0
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +20 -22
- package/card/Card.d.ts +11 -0
- package/card/CardActions.d.ts +10 -0
- package/card/CardActions.mjs +1 -1
- package/card/CardBody.d.ts +10 -0
- package/card/CardFooter.d.ts +10 -0
- package/card/CardHeader.d.ts +10 -0
- package/card/CardImage.d.ts +10 -0
- package/card/CardSubtitle.d.ts +10 -0
- package/card/CardTitle.d.ts +10 -0
- package/card/interfaces/AvatarProps.d.ts +141 -0
- package/card/interfaces/CardActionsProps.d.ts +76 -0
- package/card/interfaces/CardBodyProps.d.ts +36 -0
- package/card/interfaces/CardFooterProps.d.ts +36 -0
- package/card/interfaces/CardHandle.d.ts +21 -0
- package/card/interfaces/CardHeaderProps.d.ts +36 -0
- package/card/interfaces/CardImageProps.d.ts +45 -0
- package/card/interfaces/CardProps.d.ts +91 -0
- package/card/interfaces/CardSubtitleProps.d.ts +36 -0
- package/card/interfaces/CardTitleProps.d.ts +21 -0
- package/card/interfaces/Enums.d.ts +30 -0
- package/contextmenu/ContextMenu.d.ts +50 -0
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/drawer/Drawer.d.ts +52 -0
- package/drawer/DrawerContent.d.ts +48 -0
- package/drawer/DrawerItem.d.ts +37 -0
- package/drawer/DrawerNavigation.d.ts +49 -0
- package/drawer/DrawerNavigation.js +1 -1
- package/drawer/DrawerNavigation.mjs +27 -27
- package/drawer/context/DrawerContext.d.ts +27 -0
- package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
- package/drawer/interfaces/DrawerContentProps.d.ts +24 -0
- package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
- package/drawer/interfaces/DrawerItemProps.d.ts +129 -0
- package/drawer/interfaces/DrawerNavigationProps.d.ts +24 -0
- package/drawer/interfaces/DrawerProps.d.ts +171 -0
- package/drawer/interfaces/DrawerSelectEvent.d.ts +22 -0
- package/expansionpanel/ExpansionPanel.d.ts +13 -0
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
- package/expansionpanel/index.d.ts +10 -0
- package/expansionpanel/interfaces.d.ts +99 -0
- package/gridlayout/GridLayout.d.ts +45 -0
- package/gridlayout/GridLayoutItem.d.ts +44 -0
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +21 -0
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +87 -0
- package/gridlayout/interfaces/GridLayoutProps.d.ts +144 -0
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +21 -0
- package/index.d.mts +101 -6278
- package/index.d.ts +101 -6278
- package/menu/BaseMenuItemInternalProps.d.ts +29 -0
- package/menu/MenuProps.d.ts +189 -0
- package/menu/components/Menu.d.ts +132 -0
- package/menu/components/Menu.mjs +1 -1
- package/menu/components/MenuItem.d.ts +43 -0
- package/menu/components/MenuItemArrow.d.ts +53 -0
- package/menu/components/MenuItemInternal.d.ts +70 -0
- package/menu/components/MenuItemLink.d.ts +37 -0
- package/menu/consts.d.ts +65 -0
- package/menu/events.d.ts +45 -0
- package/menu/models/BaseMenuItem.d.ts +65 -0
- package/menu/models/MenuItemModel.d.ts +30 -0
- package/menu/utils/DirectionHolder.d.ts +18 -0
- package/menu/utils/MouseOverHandler.d.ts +24 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +14 -0
- package/menu/utils/hoverDelay.d.ts +16 -0
- package/menu/utils/itemsIdsUtils.d.ts +71 -0
- package/menu/utils/itemsIdsUtils.mjs +49 -49
- package/menu/utils/misc.d.ts +23 -0
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +13 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +8 -8
- package/panelbar/PanelBar.d.ts +89 -0
- package/panelbar/PanelBarItem.d.ts +61 -0
- package/panelbar/interfaces/NavigationAction.d.ts +19 -0
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +15 -0
- package/panelbar/interfaces/PanelBarItemProps.d.ts +116 -0
- package/panelbar/interfaces/PanelBarProps.d.ts +140 -0
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +21 -0
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +22 -0
- package/panelbar/util.d.ts +63 -0
- package/splitter/Splitter.d.ts +150 -0
- package/splitter/SplitterBar.d.ts +51 -0
- package/splitter/SplitterPane.d.ts +76 -0
- package/splitter/messages/index.d.ts +17 -0
- package/stacklayout/StackLayout.d.ts +43 -0
- package/stacklayout/StackLayoutProps.d.ts +97 -0
- package/stepper/Step.d.ts +29 -0
- package/stepper/Stepper.d.ts +29 -0
- package/stepper/contants.d.ts +15 -0
- package/stepper/context/StepperContext.d.ts +30 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +18 -0
- package/stepper/interfaces/StepFocusEvent.d.ts +14 -0
- package/stepper/interfaces/StepHandle.d.ts +20 -0
- package/stepper/interfaces/StepProps.d.ts +95 -0
- package/stepper/interfaces/StepperChangeEvent.d.ts +18 -0
- package/stepper/interfaces/StepperFocusEvent.d.ts +14 -0
- package/stepper/interfaces/StepperHandle.d.ts +20 -0
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +38 -0
- package/stepper/interfaces/StepperProps.d.ts +216 -0
- package/stepper/messages/index.d.ts +22 -0
- package/tabstrip/TabStrip.d.ts +297 -0
- package/tabstrip/TabStrip.js +1 -1
- package/tabstrip/TabStrip.mjs +1 -1
- package/tabstrip/TabStripContent.d.ts +70 -0
- package/tabstrip/TabStripNavigation.d.ts +144 -0
- package/tabstrip/TabStripNavigation.mjs +6 -6
- package/tabstrip/TabStripNavigationItem.d.ts +82 -0
- package/tabstrip/TabStripTab.d.ts +50 -0
- package/tabstrip/messages/index.d.ts +22 -0
- package/tilelayout/InternalTile.d.ts +112 -0
- package/tilelayout/ResizeHandlers.d.ts +27 -0
- package/tilelayout/TileLayout.d.ts +228 -0
- package/tilelayout/interfaces/index.d.ts +159 -0
- package/timeline/Timeline.d.ts +205 -0
- package/timeline/TimelineCard.d.ts +44 -0
- package/timeline/TimelineHorizontal.d.ts +10 -0
- package/timeline/TimelineHorizontal.js +1 -1
- package/timeline/TimelineHorizontal.mjs +0 -2
- package/timeline/TimelineVertical.d.ts +19 -0
- 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` — Applies coloring based on the primary theme color.
|
|
56
|
+
* * `secondary` — Applies coloring based on the secondary theme color.
|
|
57
|
+
* * `tertiary` — Applies coloring based on the tertiary theme color.
|
|
58
|
+
* * `info` — Applies coloring based on the info theme color.
|
|
59
|
+
* * `success` — Applies coloring based on the success theme color.
|
|
60
|
+
* * `warning` — Applies coloring based on the warning theme color.
|
|
61
|
+
* * `error` — Applies coloring based on the error theme color.
|
|
62
|
+
* * `dark` — Applies coloring based on the dark theme color.
|
|
63
|
+
* * `light` — Applies coloring based on the light theme color.
|
|
64
|
+
* * `inverse` — 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` — Sets the theme color as the text color. The background will be white.
|
|
80
|
+
* * `solid` — 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) — The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
96
|
+
* * `sticky` — 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) — Renders the text below the icon.
|
|
114
|
+
* * `horizontal` — 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) — Sets the theme color as the text color. The background will be white.
|
|
198
|
+
* * `solid` — 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) — Renders the text below the icon.
|
|
208
|
+
* * `horizontal` — 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) — Applies coloring based on the primary theme color.
|
|
217
|
+
* * `secondary` — Applies coloring based on the secondary theme color.
|
|
218
|
+
* * `tertiary` — Applies coloring based on the tertiary theme color.
|
|
219
|
+
* * `info` — Applies coloring based on the info theme color.
|
|
220
|
+
* * `success` — Applies coloring based on the success theme color.
|
|
221
|
+
* * `warning` — Applies coloring based on the warning theme color.
|
|
222
|
+
* * `error` — Applies coloring based on the error theme color.
|
|
223
|
+
* * `dark` — Applies coloring based on the dark theme color.
|
|
224
|
+
* * `light` — Applies coloring based on the light theme color.
|
|
225
|
+
* * `inverse` — 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) — The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
234
|
+
* * `sticky` — 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>>;
|
package/breadcrumb/Breadcrumb.js
CHANGED
|
@@ -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,
|
|
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;
|
|
@@ -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>>;
|