@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,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
|
+
import { StackLayoutProps } from './StackLayoutProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the Object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom)
|
|
12
|
+
* callback of the StackLayout component.
|
|
13
|
+
*/
|
|
14
|
+
export interface StackLayoutHandle {
|
|
15
|
+
/**
|
|
16
|
+
* Represents the current element. If no current element is present, `element` is `null`.
|
|
17
|
+
*/
|
|
18
|
+
element: HTMLDivElement | null;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents the [KendoReact StackLayout component](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout).
|
|
22
|
+
* Arranges its inner elements horizontally, or vertically in a stack. Nesting stack layouts is supported to build more complex layouts.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```jsx
|
|
26
|
+
*
|
|
27
|
+
* const App = () => {
|
|
28
|
+
* return (
|
|
29
|
+
* <StackLayout
|
|
30
|
+
* orientation="vertical"
|
|
31
|
+
* align={{horizontal: 'stretch', vertical: 'stretch'}}
|
|
32
|
+
* gap={10}
|
|
33
|
+
* >
|
|
34
|
+
* <div>Box</div>
|
|
35
|
+
* <div>Box</div>
|
|
36
|
+
* <div>Box</div>
|
|
37
|
+
* <div>Box</div>
|
|
38
|
+
* </StackLayout>
|
|
39
|
+
* );
|
|
40
|
+
* };
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const StackLayout: React.ForwardRefExoticComponent<StackLayoutProps & React.RefAttributes<StackLayoutHandle | null>>;
|
|
@@ -0,0 +1,97 @@
|
|
|
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 StackLayout component](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout).
|
|
11
|
+
*/
|
|
12
|
+
export interface StackLayoutProps {
|
|
13
|
+
/**
|
|
14
|
+
* The React elements that will be rendered inside the StackLayout.
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Sets additional CSS classes to the StackLayout.
|
|
19
|
+
*/
|
|
20
|
+
className?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Sets additional CSS styles to the StackLayout.
|
|
23
|
+
*/
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
/**
|
|
26
|
+
* Sets the `id` property of the root StackLayout element.
|
|
27
|
+
*/
|
|
28
|
+
id?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the gap between the inner elements ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-gaps)).
|
|
31
|
+
*/
|
|
32
|
+
gap?: number | string;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the StackLayout orientation.
|
|
35
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-orientation)).
|
|
36
|
+
*
|
|
37
|
+
* The possible values are:
|
|
38
|
+
* * (Default)`horizontal`
|
|
39
|
+
* * `vertical`
|
|
40
|
+
*
|
|
41
|
+
* @default horizontal
|
|
42
|
+
*/
|
|
43
|
+
orientation?: StackLayoutOrientation;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the horizontal and vertical alignment of the inner StackLayout elements.
|
|
46
|
+
* Demo ([here](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-horizontal-alignment)) and ([here](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-vertical-alignment)).
|
|
47
|
+
*
|
|
48
|
+
* The possible keys are:
|
|
49
|
+
* * `horizontal`—Defines the possible horizontal alignment of the inner StackLayout elements.
|
|
50
|
+
* * `start`—Uses the start point of the container.
|
|
51
|
+
* * `center`—Uses the central point of the container.
|
|
52
|
+
* * `end`—Uses the end point of the container.
|
|
53
|
+
* * (Default)`stretch`—Stretches the items to fill the width of the container.
|
|
54
|
+
* * `vertical`—Defines the possible vertical alignment of the inner StackLayout elements.
|
|
55
|
+
* * `top`—Uses the top point of the container.
|
|
56
|
+
* * `middle`—Uses the middle point of the container.
|
|
57
|
+
* * `bottom`—Uses the bottom point of the container.
|
|
58
|
+
* * (Default)`stretch`—Stretches the items to fill the height of the container.
|
|
59
|
+
*/
|
|
60
|
+
align?: StackLayoutAlign;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the StackLayout orientation ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-orientation)).
|
|
64
|
+
*
|
|
65
|
+
* The possible values are:
|
|
66
|
+
* * (Default)`horizontal`
|
|
67
|
+
* * `vertical`
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export type StackLayoutOrientation = 'horizontal' | 'vertical';
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the horizontal and vertical alignment of the inner StackLayout elements.
|
|
73
|
+
*/
|
|
74
|
+
export interface StackLayoutAlign {
|
|
75
|
+
/**
|
|
76
|
+
* Defines the possible horizontal alignment of the inner StackLayout elements
|
|
77
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-horizontal-alignment)).
|
|
78
|
+
*
|
|
79
|
+
* The available values are:
|
|
80
|
+
* - `start`—Uses the start point of the container.
|
|
81
|
+
* - `center`—Uses the center point of the container.
|
|
82
|
+
* - `end`—Uses the end point of the container.
|
|
83
|
+
* - (Default)`stretch`—Stretches the items to fill the width of the container.
|
|
84
|
+
*/
|
|
85
|
+
horizontal?: 'start' | 'center' | 'end' | 'stretch';
|
|
86
|
+
/**
|
|
87
|
+
* Defines the possible vertical alignment of the inner StackLayout elements
|
|
88
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-vertical-alignment)).
|
|
89
|
+
*
|
|
90
|
+
* The available values are:
|
|
91
|
+
* - `top`—Uses the top point of the container.
|
|
92
|
+
* - `middle`—Uses the middle point of the container.
|
|
93
|
+
* - `bottom`—Uses the bottom point of the container.
|
|
94
|
+
* - (Default)`stretch`—Stretches the items to fill the height of the container.
|
|
95
|
+
*/
|
|
96
|
+
vertical?: 'top' | 'middle' | 'bottom' | 'stretch';
|
|
97
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { StepHandle } from './interfaces/StepHandle.js';
|
|
9
|
+
import { StepProps } from './interfaces/StepProps.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the [KendoReact Step component](https://www.telerik.com/kendo-react-ui/components/layout/stepper).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```jsx
|
|
16
|
+
* const steps = [
|
|
17
|
+
* { label: 'Step 1' },
|
|
18
|
+
* { label: 'Step 2' },
|
|
19
|
+
* { label: 'Step 3', optional: true }
|
|
20
|
+
* ];
|
|
21
|
+
*
|
|
22
|
+
* const App = () => {
|
|
23
|
+
* return (
|
|
24
|
+
* <Stepper items={steps} value={1}/>
|
|
25
|
+
* );
|
|
26
|
+
* };
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const Step: React.ForwardRefExoticComponent<Omit<StepProps, "ref"> & React.RefAttributes<StepHandle | null>>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { StepperProps } from './interfaces/StepperProps.js';
|
|
9
|
+
import { StepperHandle } from './interfaces/StepperHandle.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the [KendoReact Stepper component](https://www.telerik.com/kendo-react-ui/components/layout/stepper).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```jsx
|
|
16
|
+
* const steps = [
|
|
17
|
+
* { label: 'Step 1' },
|
|
18
|
+
* { label: 'Step 2' },
|
|
19
|
+
* { label: 'Step 3', optional: true }
|
|
20
|
+
* ];
|
|
21
|
+
*
|
|
22
|
+
* const App = () => {
|
|
23
|
+
* return (
|
|
24
|
+
* <Stepper items={steps} value={1} />
|
|
25
|
+
* );
|
|
26
|
+
* };
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperHandle | null>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 DEFAULT_ANIMATION_DURATION = 400;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const NO_ANIMATION = 0;
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { StepProps } from '../interfaces/StepProps.js';
|
|
9
|
+
import { StepChangeEvent } from '../interfaces/StepChangeEvent.js';
|
|
10
|
+
import { StepFocusEvent } from '../interfaces/StepFocusEvent.js';
|
|
11
|
+
import { SVGIcon } from '@progress/kendo-react-common';
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
/** @hidden */
|
|
14
|
+
export type StepperContextType = {
|
|
15
|
+
animationDuration?: number | boolean;
|
|
16
|
+
isVertical?: boolean;
|
|
17
|
+
item?: React.ComponentType<StepProps>;
|
|
18
|
+
linear?: boolean;
|
|
19
|
+
mode?: 'steps' | 'labels';
|
|
20
|
+
numOfSteps?: number;
|
|
21
|
+
value: number;
|
|
22
|
+
successIcon?: string;
|
|
23
|
+
errorIcon?: string;
|
|
24
|
+
successSVGIcon?: SVGIcon;
|
|
25
|
+
errorSVGIcon?: SVGIcon;
|
|
26
|
+
onChange?: (event: StepChangeEvent) => void;
|
|
27
|
+
onFocus?: (event: StepFocusEvent) => void;
|
|
28
|
+
};
|
|
29
|
+
/** @hidden */
|
|
30
|
+
export declare const StepperContext: React.Context<StepperContextType>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { StepHandle } from './StepHandle.js';
|
|
9
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
10
|
+
/**
|
|
11
|
+
* The arguments for the `onChange` Step event.
|
|
12
|
+
*/
|
|
13
|
+
export interface StepChangeEvent extends BaseEvent<StepHandle> {
|
|
14
|
+
/**
|
|
15
|
+
* The index of the selected Step.
|
|
16
|
+
*/
|
|
17
|
+
value: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { StepHandle } from './StepHandle.js';
|
|
9
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
10
|
+
/**
|
|
11
|
+
* The arguments for the `onFocus` Step event.
|
|
12
|
+
*/
|
|
13
|
+
export interface StepFocusEvent extends BaseEvent<StepHandle> {
|
|
14
|
+
}
|
|
@@ -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
|
+
* The Step ref.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepHandle {
|
|
12
|
+
/**
|
|
13
|
+
* The Step element.
|
|
14
|
+
*/
|
|
15
|
+
element: HTMLLIElement | null;
|
|
16
|
+
/**
|
|
17
|
+
* Focus the Step.
|
|
18
|
+
*/
|
|
19
|
+
focus: () => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { SVGIcon } from '@progress/kendo-react-common';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the [KendoReact Step component](https://www.telerik.com/kendo-react-ui/components/layout/stepper).
|
|
12
|
+
*/
|
|
13
|
+
export interface StepProps {
|
|
14
|
+
/**
|
|
15
|
+
* Represents the child elements that are passed to the Step.
|
|
16
|
+
*/
|
|
17
|
+
children?: any;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies a list of CSS classes that will be added to the Step element.
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Represents the content that will be rendered inside each Step.
|
|
24
|
+
*
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
content?: any;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the Step as current.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
current?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Sets a custom prop.
|
|
36
|
+
*/
|
|
37
|
+
[customProp: string]: any;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies if the Step is disabled
|
|
40
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Defines the name for an existing icon in a KendoReact theme.
|
|
47
|
+
* The icon is rendered inside the Step indicator by a `span.k-icon` element
|
|
48
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
49
|
+
*/
|
|
50
|
+
icon?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Defines the SVG icon.
|
|
53
|
+
* The icon is rendered inside the Step indicator
|
|
54
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
55
|
+
*/
|
|
56
|
+
svgIcon?: SVGIcon;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the index of the Step that is used to identify it.
|
|
59
|
+
*/
|
|
60
|
+
index?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies the Step validity
|
|
63
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
64
|
+
*
|
|
65
|
+
* @default true
|
|
66
|
+
*/
|
|
67
|
+
isValid?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the label of the Step
|
|
70
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
71
|
+
*/
|
|
72
|
+
label?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies if the Step is optional. The validation is not applied to these steps
|
|
75
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
76
|
+
*
|
|
77
|
+
* @default false
|
|
78
|
+
*/
|
|
79
|
+
optional?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Sets additional CSS styles to the Step.
|
|
82
|
+
*/
|
|
83
|
+
style?: React.CSSProperties;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the `tabIndex` property of the Step.
|
|
86
|
+
*
|
|
87
|
+
* @default 0
|
|
88
|
+
*/
|
|
89
|
+
tabIndex?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the text content of the Step indicator
|
|
92
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stepper/display_modes)).
|
|
93
|
+
*/
|
|
94
|
+
text?: string;
|
|
95
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { StepperHandle } from '../interfaces/StepperHandle.js';
|
|
9
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
10
|
+
/**
|
|
11
|
+
* The arguments for the `onChange` Stepper event.
|
|
12
|
+
*/
|
|
13
|
+
export interface StepperChangeEvent extends BaseEvent<StepperHandle> {
|
|
14
|
+
/**
|
|
15
|
+
* The index of the selected Step.
|
|
16
|
+
*/
|
|
17
|
+
value: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { StepperHandle } from '../interfaces/StepperHandle.js';
|
|
9
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
10
|
+
/**
|
|
11
|
+
* The arguments for the `onFocus` Stepper event.
|
|
12
|
+
*/
|
|
13
|
+
export interface StepperFocusEvent extends BaseEvent<StepperHandle> {
|
|
14
|
+
}
|
|
@@ -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
|
+
* The Stepper ref.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepperHandle {
|
|
12
|
+
/**
|
|
13
|
+
* The Stepper element.
|
|
14
|
+
*/
|
|
15
|
+
element: HTMLMenuElement | null;
|
|
16
|
+
/**
|
|
17
|
+
* Focus the Stepper's first focusable child.
|
|
18
|
+
*/
|
|
19
|
+
focus: () => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { StepperHandle } from './../interfaces/StepperHandle.js';
|
|
10
|
+
/**
|
|
11
|
+
* The `StepperOnNavigateEvent` event.
|
|
12
|
+
*/
|
|
13
|
+
export declare class StepperOnNavigateEvent implements BaseEvent<StepperHandle> {
|
|
14
|
+
/**
|
|
15
|
+
* The Stepper component.
|
|
16
|
+
*/
|
|
17
|
+
target: StepperHandle;
|
|
18
|
+
/**
|
|
19
|
+
* The synthetic keyboard event.
|
|
20
|
+
*/
|
|
21
|
+
syntheticEvent: React.KeyboardEvent;
|
|
22
|
+
/**
|
|
23
|
+
* The native DOM event.
|
|
24
|
+
*/
|
|
25
|
+
nativeEvent: any;
|
|
26
|
+
/**
|
|
27
|
+
* The previous index of the Step.
|
|
28
|
+
*/
|
|
29
|
+
prevIndex: number;
|
|
30
|
+
/**
|
|
31
|
+
* The new index of the Step.
|
|
32
|
+
*/
|
|
33
|
+
nextIndex: number;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
constructor(target: StepperHandle, prevIndex: number, nextIndex: number);
|
|
38
|
+
}
|