@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.
- 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,242 @@
|
|
|
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 { ActionSheetItemProps } from './interfaces/ActionSheetItemProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the animation duration settings of the ActionSheet.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export interface ActionSheetAnimationDuration {
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the opening duration of the ActionSheet animation.
|
|
17
|
+
*/
|
|
18
|
+
openDuration?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the closing duration of the ActionSheet animation.
|
|
21
|
+
*/
|
|
22
|
+
closeDuration?: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The props of the ActionSheet component.
|
|
26
|
+
*/
|
|
27
|
+
export interface ActionSheetProps {
|
|
28
|
+
/**
|
|
29
|
+
* The collection of items that will be rendered in the ActionSheet.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```jsx
|
|
33
|
+
* const items = [{ text: 'Item 1' }, { text: 'Item 2' }];
|
|
34
|
+
* <ActionSheet items={items} />
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
items?: ActionSheetItemProps[];
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the text that is rendered under the title.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```jsx
|
|
43
|
+
* <ActionSheet subTitle="Subtitle text" />
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
subTitle?: React.ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the text that is rendered as title.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```jsx
|
|
52
|
+
* <ActionSheet title="Title text" />
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
title?: React.ReactNode;
|
|
56
|
+
/**
|
|
57
|
+
* Fires when the modal overlay is clicked.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```jsx
|
|
61
|
+
* <ActionSheet onClose={(e) => console.log('Overlay clicked')} />
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
onClose?: (event: React.SyntheticEvent) => void;
|
|
65
|
+
/**
|
|
66
|
+
* Fires when an ActionSheet item is clicked.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```jsx
|
|
70
|
+
* <ActionSheet onItemSelect={(e) => console.log(e.item)} />
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
onItemSelect?: (event: {
|
|
74
|
+
syntheticEvent: React.SyntheticEvent;
|
|
75
|
+
title?: string;
|
|
76
|
+
item?: any;
|
|
77
|
+
}) => void;
|
|
78
|
+
/**
|
|
79
|
+
* Represents the children that are passed to the ActionSheet.
|
|
80
|
+
*
|
|
81
|
+
* @hidden
|
|
82
|
+
*/
|
|
83
|
+
children?: any;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the `tabIndex` of the ActionSheet.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```jsx
|
|
89
|
+
* <ActionSheet tabIndex={0} />
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
tabIndex?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Specifies if the ActionSheet can be navigatable with keyboard.
|
|
95
|
+
* Defaults to `true`.
|
|
96
|
+
*
|
|
97
|
+
* @default true
|
|
98
|
+
* @example
|
|
99
|
+
* ```jsx
|
|
100
|
+
* <ActionSheet navigatable={false} />
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
navigatable?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Specifies the selectors of the navigatable elements inside the templates of the ActionSheet.
|
|
106
|
+
*
|
|
107
|
+
* @default []
|
|
108
|
+
* @example
|
|
109
|
+
* ```jsx
|
|
110
|
+
* <ActionSheet navigatableElements={['.custom-class']} />
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
navigatableElements?: string[];
|
|
114
|
+
/**
|
|
115
|
+
* Controls the popup animation. By default, the open and close animations are disabled.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```jsx
|
|
119
|
+
* <ActionSheet animation={true} />
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
animation?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
*/
|
|
126
|
+
animationStyles?: React.CSSProperties;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the duration of the transition for the entering and closing Animation. Defaults to `300ms`.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```jsx
|
|
132
|
+
* <ActionSheet animationDuration={500} />
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
animationDuration?: number | ActionSheetAnimationDuration;
|
|
136
|
+
/**
|
|
137
|
+
* The CSS classes that will be rendered on the inner ActionSheet element.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```jsx
|
|
141
|
+
* <ActionSheet className="custom-class" />
|
|
142
|
+
* ```
|
|
143
|
+
*/
|
|
144
|
+
className?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies the state of the ActionSheet.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* ```jsx
|
|
150
|
+
* <ActionSheet expand={true} />
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
153
|
+
expand?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Specifies the position of the ActionSheet.
|
|
156
|
+
*
|
|
157
|
+
* @default 'bottom'
|
|
158
|
+
* @example
|
|
159
|
+
* ```jsx
|
|
160
|
+
* <ActionSheet position="top" />
|
|
161
|
+
* ```
|
|
162
|
+
*/
|
|
163
|
+
position?: 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
164
|
+
/**
|
|
165
|
+
* Specifies the actions rendered at the start of the header.
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* ```jsx
|
|
169
|
+
* <ActionSheet prefixActions={<Button>Action</Button>} />
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
prefixActions?: React.ReactNode;
|
|
173
|
+
/**
|
|
174
|
+
* Specifies the actions rendered at the end of the header.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* ```jsx
|
|
178
|
+
* <ActionSheet suffixActions={<Button>Action</Button>} />
|
|
179
|
+
* ```
|
|
180
|
+
*/
|
|
181
|
+
suffixActions?: React.ReactNode;
|
|
182
|
+
/**
|
|
183
|
+
* @hidden
|
|
184
|
+
*/
|
|
185
|
+
filter?: React.ReactNode;
|
|
186
|
+
/**
|
|
187
|
+
* Specifies the styles of the ActionSheet component.
|
|
188
|
+
*/
|
|
189
|
+
style?: React.CSSProperties;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @hidden
|
|
193
|
+
*/
|
|
194
|
+
export interface ActionSheetState {
|
|
195
|
+
show?: boolean;
|
|
196
|
+
slide?: boolean;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Represent the `ref` of the ActionSheet component.
|
|
200
|
+
*/
|
|
201
|
+
export interface ActionSheetHandle {
|
|
202
|
+
/**
|
|
203
|
+
* The props of the ActionSheet component.
|
|
204
|
+
*/
|
|
205
|
+
props: ActionSheetProps;
|
|
206
|
+
/**
|
|
207
|
+
* The HTML element of the ActionSheet component.
|
|
208
|
+
*/
|
|
209
|
+
element?: HTMLDivElement;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Represents the [KendoReact ActionSheet](https://www.telerik.com/kendo-react-ui/components/layout/actionsheet) component.
|
|
213
|
+
*/
|
|
214
|
+
export declare const ActionSheet: React.ForwardRefExoticComponent<ActionSheetProps & React.RefAttributes<ActionSheetHandle | null>>;
|
|
215
|
+
/**
|
|
216
|
+
* The default props interface of the ActionSheet component.
|
|
217
|
+
*/
|
|
218
|
+
export type ActionSheetDefaultPropsType = {
|
|
219
|
+
/**
|
|
220
|
+
* Specifies if the ActionSheet can be navigatable with keyboard.
|
|
221
|
+
* Defaults to `true`.
|
|
222
|
+
*
|
|
223
|
+
* @default true
|
|
224
|
+
*/
|
|
225
|
+
navigatable: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* Specifies the selectors of the navigatable elements inside the templates of the ActionSheet.
|
|
228
|
+
*
|
|
229
|
+
* @default []
|
|
230
|
+
*/
|
|
231
|
+
navigatableElements: string[];
|
|
232
|
+
/**
|
|
233
|
+
* Specifies the position of the ActionSheet.
|
|
234
|
+
*
|
|
235
|
+
* @default 'bottom'
|
|
236
|
+
*/
|
|
237
|
+
position: 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* The default props of the ActionSheet component.
|
|
241
|
+
*/
|
|
242
|
+
export declare const actionSheetDefaultProps: ActionSheetDefaultPropsType;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { ActionSheetChildrenProps } from './interfaces/ActionSheetChildrenProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const contentDisplayName = "ActionSheetContent";
|
|
14
|
+
/**
|
|
15
|
+
* The KendoReact ActionSheetContent component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ActionSheetContent: React.FunctionComponent<ActionSheetChildrenProps>;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { ActionSheetChildrenProps } from './interfaces/ActionSheetChildrenProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Lists the possible alignment of the ActionSheet action buttons.
|
|
12
|
+
*/
|
|
13
|
+
export type ActionSheetActionsAlignment = 'start' | 'center' | 'end' | 'stretched' | 'justify';
|
|
14
|
+
/**
|
|
15
|
+
* Lists the possible orientations of the ActionSheet action buttons.
|
|
16
|
+
*/
|
|
17
|
+
export type ActionSheetActionsOrientation = 'horizontal' | 'vertical';
|
|
18
|
+
/**
|
|
19
|
+
* The props of the ActionSheetFooter component.
|
|
20
|
+
*/
|
|
21
|
+
export interface ActionSheetFooterProps extends ActionSheetChildrenProps {
|
|
22
|
+
/**
|
|
23
|
+
* Sets the orientation of the action buttons in the footer. Valid values are `"horizontal"` and `"vertical"`.
|
|
24
|
+
*
|
|
25
|
+
* @default "horizontal"
|
|
26
|
+
*/
|
|
27
|
+
actionButtonsOrientation?: ActionSheetActionsOrientation;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the alignment of the action buttons in the footer. This configuration works only in `horizontal` orientation.
|
|
30
|
+
*
|
|
31
|
+
* @default "stretched"
|
|
32
|
+
*/
|
|
33
|
+
actionButtonsAlignment?: ActionSheetActionsAlignment;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export declare const footerDisplayName = "ActionSheetFooter";
|
|
39
|
+
/**
|
|
40
|
+
* The KendoReact ActionSheetFooter component.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ActionSheetFooter: React.FunctionComponent<ActionSheetFooterProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { ActionSheetChildrenProps } from './interfaces/ActionSheetChildrenProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const headerDisplayName = "ActionSheetHeader";
|
|
14
|
+
/**
|
|
15
|
+
* The KendoReact ActionSheetHeader component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ActionSheetHeader: React.FunctionComponent<ActionSheetChildrenProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { ActionSheetItemProps } from './interfaces/ActionSheetItemProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The KendoReact ActionSheetItem component.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ActionSheetItem: React.FunctionComponent<ActionSheetItemProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 React } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const ActionSheetViewDisplayName = "ActionSheetView";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare const ActionSheetView: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 interface ActionSheetChildrenProps {
|
|
12
|
+
/**
|
|
13
|
+
* ClassName of the rendered element.
|
|
14
|
+
*/
|
|
15
|
+
className?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Represents the children that are passed to the ActionSheet.
|
|
18
|
+
*/
|
|
19
|
+
children?: any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 the KendoReact ActionSheetItem component.
|
|
11
|
+
*/
|
|
12
|
+
export interface ActionSheetItemProps {
|
|
13
|
+
/**
|
|
14
|
+
* Sets additional CSS classes to the ActionSheet.
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Sets additional CSS styles to the ActionSheet.
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/**
|
|
22
|
+
* **Deprecated**. Specifies the `tabIndex` of the ActionSheetItem.
|
|
23
|
+
*
|
|
24
|
+
* Set the tabIndex to the ActionSheet component instead.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated
|
|
27
|
+
*/
|
|
28
|
+
tabIndex?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies additional text rendered under the item's title.
|
|
31
|
+
* Specifies additional text rendered under the `title` of the ActionSheetItem.
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies if the ActionSheetItem is initially disabled.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Defines the ActionSheetItem group. Items can be segregated in two groups - `top` and `bottom`.
|
|
42
|
+
* Each group specifies whether the ActionSheetItem will be rendered over the separator or under it.
|
|
43
|
+
*/
|
|
44
|
+
group?: 'top' | 'bottom';
|
|
45
|
+
/**
|
|
46
|
+
* Defines the icon rendered inside the ActionSheetItem.
|
|
47
|
+
*/
|
|
48
|
+
icon?: React.ReactElement<any>;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies the text content of the ActionSheetItem.
|
|
51
|
+
*/
|
|
52
|
+
title?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Specifies the ActionSheetItem.
|
|
55
|
+
*/
|
|
56
|
+
item?: any;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
onClick?: (event: {
|
|
61
|
+
syntheticEvent: React.SyntheticEvent;
|
|
62
|
+
title?: string;
|
|
63
|
+
}) => void;
|
|
64
|
+
/**
|
|
65
|
+
* @hidden
|
|
66
|
+
*/
|
|
67
|
+
onKeyDown?: (event: React.SyntheticEvent, title: string | undefined, id: number | undefined) => void;
|
|
68
|
+
/**
|
|
69
|
+
* @hidden
|
|
70
|
+
*/
|
|
71
|
+
focused?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* @hidden
|
|
74
|
+
*/
|
|
75
|
+
id?: number;
|
|
76
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { AppBarProps } from './interfaces/AppBarProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The AppBar ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface AppBarHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The AppBar element.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLDivElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focus the AppBar.
|
|
20
|
+
*/
|
|
21
|
+
focus: () => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the [KendoReact AppBar component](https://www.telerik.com/kendo-react-ui/components/layout/appbar).
|
|
25
|
+
* Used to display information, actions, branding titles and additional navigation on the current screen.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```jsx
|
|
29
|
+
*
|
|
30
|
+
* const App = () => {
|
|
31
|
+
* return (
|
|
32
|
+
* <AppBar>
|
|
33
|
+
* <AppBarSection>
|
|
34
|
+
* <span className="k-icon k-i-menu" />
|
|
35
|
+
* </AppBarSection>
|
|
36
|
+
*
|
|
37
|
+
* <AppBarSpacer style={{ width: 8 }} />
|
|
38
|
+
*
|
|
39
|
+
* <AppBarSection>
|
|
40
|
+
* <h1 className="title">{tc.text} AppBar</h1>
|
|
41
|
+
* </AppBarSection>
|
|
42
|
+
*
|
|
43
|
+
* <AppBarSpacer />
|
|
44
|
+
*
|
|
45
|
+
* <AppBarSection>
|
|
46
|
+
* <BadgeContainer>
|
|
47
|
+
* <span className="k-icon k-i-bell" />
|
|
48
|
+
* <Badge themeColor="info" shape="dot" />
|
|
49
|
+
* </BadgeContainer>
|
|
50
|
+
* </AppBarSection>
|
|
51
|
+
* </AppBar>
|
|
52
|
+
* );
|
|
53
|
+
* };
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<AppBarHandle | null>>;
|
package/appbar/AppBar.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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),o=require("prop-types"),p=require("@progress/kendo-react-common");function C(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,a.get?a:{enumerable:!0,get:()=>e[s]})}}return n.default=e,Object.freeze(n)}const t=C(g),d=t.forwardRef((e,n)=>{const{children:s,className:a,style:f,id:b}=e,c=t.useRef(null),m=t.useCallback(()=>{c.current&&p.focusFirstFocusableChild(c.current)},[]),k=t.useCallback(()=>({element:c.current,focus:m}),[m]);t.useImperativeHandle(n,k);const y=p.useId(),r=t.useMemo(()=>e.themeColor||u.themeColor,[e.themeColor]),l=t.useMemo(()=>e.position||u.position,[e.position]),i=t.useMemo(()=>e.positionMode||u.positionMode,[e.positionMode]),M=t.useMemo(()=>p.classNames("k-appbar",{"k-appbar-top":l==="top","k-appbar-bottom":l==="bottom","k-appbar-static":i==="static","k-appbar-sticky":i==="sticky","k-appbar-fixed":i==="fixed",[`k-appbar-${r}`]:!!r},a),[l,i,r,a]);return t.createElement("div",{className:M,style:f,id:b||y},s)});d.propTypes={children:o.any,className:o.string,style:o.object,id:o.string,themeColor:o.string,position:o.oneOf(["top","bottom"]),positionMode:o.oneOf(["static","sticky","fixed"])};const u={themeColor:void 0,position:"top",positionMode:"static"};d.displayName="KendoAppBar";exports.AppBar=d;
|
package/appbar/AppBar.mjs
CHANGED
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
8
|
+
import * as o from "react";
|
|
9
9
|
import t from "prop-types";
|
|
10
|
-
import { focusFirstFocusableChild as
|
|
11
|
-
const l =
|
|
12
|
-
const { children: d, className: c, style: u, id: f } =
|
|
13
|
-
i.current &&
|
|
14
|
-
}, []), b =
|
|
10
|
+
import { focusFirstFocusableChild as M, useId as h, classNames as y } from "@progress/kendo-react-common";
|
|
11
|
+
const l = o.forwardRef((e, m) => {
|
|
12
|
+
const { children: d, className: c, style: u, id: f } = e, i = o.useRef(null), p = o.useCallback(() => {
|
|
13
|
+
i.current && M(i.current);
|
|
14
|
+
}, []), b = o.useCallback(
|
|
15
15
|
() => ({
|
|
16
16
|
element: i.current,
|
|
17
17
|
focus: p
|
|
18
18
|
}),
|
|
19
19
|
[p]
|
|
20
20
|
);
|
|
21
|
-
|
|
22
|
-
const k =
|
|
21
|
+
o.useImperativeHandle(m, b);
|
|
22
|
+
const k = h(), a = o.useMemo(() => e.themeColor || r.themeColor, [e.themeColor]), n = o.useMemo(() => e.position || r.position, [e.position]), s = o.useMemo(() => e.positionMode || r.positionMode, [e.positionMode]), C = o.useMemo(
|
|
23
23
|
() => y(
|
|
24
24
|
"k-appbar",
|
|
25
25
|
{
|
|
@@ -34,7 +34,7 @@ const l = e.forwardRef((o, m) => {
|
|
|
34
34
|
),
|
|
35
35
|
[n, s, a, c]
|
|
36
36
|
);
|
|
37
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ o.createElement("div", { className: C, style: u, id: f || k }, d);
|
|
38
38
|
});
|
|
39
39
|
l.propTypes = {
|
|
40
40
|
children: t.any,
|
|
@@ -46,7 +46,7 @@ l.propTypes = {
|
|
|
46
46
|
positionMode: t.oneOf(["static", "sticky", "fixed"])
|
|
47
47
|
};
|
|
48
48
|
const r = {
|
|
49
|
-
themeColor:
|
|
49
|
+
themeColor: void 0,
|
|
50
50
|
position: "top",
|
|
51
51
|
positionMode: "static"
|
|
52
52
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { AppBarSectionProps } from './interfaces/AppBarSectionProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The AppBarSection ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface AppBarSectionHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The AppBarSection element.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLDivElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focus the AppBarSection.
|
|
20
|
+
*/
|
|
21
|
+
focus: () => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the [KendoReact AppBarSection component](https://www.telerik.com/kendo-react-ui/components/layout/appbar/content-arrangement#toc-sections).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```jsx
|
|
28
|
+
*
|
|
29
|
+
* const App = () => {
|
|
30
|
+
* return (
|
|
31
|
+
* <AppBar>
|
|
32
|
+
* <AppBarSection>
|
|
33
|
+
* <span className="k-icon k-i-menu" />
|
|
34
|
+
* </AppBarSection>
|
|
35
|
+
*
|
|
36
|
+
* <AppBarSpacer style={{ width: 8 }} />
|
|
37
|
+
*
|
|
38
|
+
* <AppBarSection>
|
|
39
|
+
* <h1 className="title">{tc.text} AppBar</h1>
|
|
40
|
+
* </AppBarSection>
|
|
41
|
+
*
|
|
42
|
+
* <AppBarSpacer />
|
|
43
|
+
*
|
|
44
|
+
* <AppBarSection>
|
|
45
|
+
* <BadgeContainer>
|
|
46
|
+
* <span className="k-icon k-i-bell" />
|
|
47
|
+
* <Badge themeColor="info" shape="dot" />
|
|
48
|
+
* </BadgeContainer>
|
|
49
|
+
* </AppBarSection>
|
|
50
|
+
* </AppBar>
|
|
51
|
+
* );
|
|
52
|
+
* };
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare const AppBarSection: React.ForwardRefExoticComponent<AppBarSectionProps & React.RefAttributes<AppBarSectionHandle | null>>;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { AppBarSpacerProps } from './interfaces/AppBarSpacerProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The AppBarSpacer ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface AppBarSpacerHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The AppBarSpacer element.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLDivElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focus the AppBarSpacer.
|
|
20
|
+
*/
|
|
21
|
+
focus: () => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the [KendoReact AppBarSpacer component](https://www.telerik.com/kendo-react-ui/components/layout/appbar/content-arrangement#toc-spacings).
|
|
25
|
+
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```jsx
|
|
29
|
+
*
|
|
30
|
+
* const App = () => {
|
|
31
|
+
* return (
|
|
32
|
+
* <AppBar>
|
|
33
|
+
* <AppBarSection>
|
|
34
|
+
* <span className="k-icon k-i-menu" />
|
|
35
|
+
* </AppBarSection>
|
|
36
|
+
*
|
|
37
|
+
* <AppBarSpacer style={{ width: 8 }} />
|
|
38
|
+
*
|
|
39
|
+
* <AppBarSection>
|
|
40
|
+
* <h1 className="title">{tc.text} AppBar</h1>
|
|
41
|
+
* </AppBarSection>
|
|
42
|
+
*
|
|
43
|
+
* <AppBarSpacer />
|
|
44
|
+
*
|
|
45
|
+
* <AppBarSection>
|
|
46
|
+
* <BadgeContainer>
|
|
47
|
+
* <span className="k-icon k-i-bell" />
|
|
48
|
+
* <Badge themeColor="info" shape="dot" />
|
|
49
|
+
* </BadgeContainer>
|
|
50
|
+
* </AppBarSection>
|
|
51
|
+
* </AppBar>
|
|
52
|
+
* );
|
|
53
|
+
* };
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare const AppBarSpacer: React.ForwardRefExoticComponent<AppBarSpacerProps & React.RefAttributes<AppBarSpacerHandle | null>>;
|