@progress/kendo-react-layout 7.2.4-develop.3 → 7.2.4-develop.4
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.js +8 -0
- package/actionsheet/ActionSheet.mjs +184 -0
- package/actionsheet/ActionSheetContent.js +8 -0
- package/actionsheet/ActionSheetContent.mjs +32 -0
- package/actionsheet/ActionSheetFooter.js +8 -0
- package/actionsheet/ActionSheetFooter.mjs +32 -0
- package/actionsheet/ActionSheetHeader.js +8 -0
- package/actionsheet/ActionSheetHeader.mjs +32 -0
- package/actionsheet/ActionSheetItem.js +8 -0
- package/actionsheet/ActionSheetItem.mjs +52 -0
- package/appbar/AppBar.js +8 -0
- package/appbar/AppBar.mjs +86 -0
- package/appbar/AppBarSection.js +8 -0
- package/appbar/AppBarSection.mjs +47 -0
- package/appbar/AppBarSpacer.js +8 -0
- package/appbar/AppBarSpacer.mjs +55 -0
- package/bottomnavigation/BottomNavigation.js +8 -0
- package/bottomnavigation/BottomNavigation.mjs +160 -0
- package/bottomnavigation/BottomNavigationItem.js +8 -0
- package/bottomnavigation/BottomNavigationItem.mjs +93 -0
- package/bottomnavigation/models/utils.js +8 -0
- package/bottomnavigation/models/utils.mjs +19 -0
- package/breadcrumb/Breadcrumb.js +8 -0
- package/breadcrumb/Breadcrumb.mjs +158 -0
- package/breadcrumb/BreadcrumbDelimiter.js +8 -0
- package/breadcrumb/BreadcrumbDelimiter.mjs +48 -0
- package/breadcrumb/BreadcrumbLink.js +8 -0
- package/breadcrumb/BreadcrumbLink.mjs +82 -0
- package/breadcrumb/BreadcrumbListItem.js +8 -0
- package/breadcrumb/BreadcrumbListItem.mjs +52 -0
- package/breadcrumb/BreadcrumbOrderedList.js +8 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +67 -0
- package/card/Avatar.js +8 -0
- package/card/Avatar.mjs +53 -0
- package/card/Card.js +8 -0
- package/card/Card.mjs +52 -0
- package/card/CardActions.js +8 -0
- package/card/CardActions.mjs +40 -0
- package/card/CardBody.js +8 -0
- package/card/CardBody.mjs +28 -0
- package/card/CardFooter.js +8 -0
- package/card/CardFooter.mjs +28 -0
- package/card/CardHeader.js +8 -0
- package/card/CardHeader.mjs +28 -0
- package/card/CardImage.js +8 -0
- package/card/CardImage.mjs +36 -0
- package/card/CardSubtitle.js +8 -0
- package/card/CardSubtitle.mjs +28 -0
- package/card/CardTitle.js +8 -0
- package/card/CardTitle.mjs +28 -0
- package/card/interfaces/Enums.js +8 -0
- package/card/interfaces/Enums.mjs +15 -0
- package/contextmenu/ContextMenu.js +8 -0
- package/contextmenu/ContextMenu.mjs +48 -0
- package/dist/cdn/js/kendo-react-layout.js +8 -5
- package/drawer/Drawer.js +8 -0
- package/drawer/Drawer.mjs +130 -0
- package/drawer/DrawerContent.js +8 -0
- package/drawer/DrawerContent.mjs +33 -0
- package/drawer/DrawerItem.js +8 -0
- package/drawer/DrawerItem.mjs +89 -0
- package/drawer/DrawerNavigation.js +8 -0
- package/drawer/DrawerNavigation.mjs +132 -0
- package/drawer/context/DrawerContext.js +8 -0
- package/drawer/context/DrawerContext.mjs +22 -0
- package/expansionpanel/ExpansionPanel.js +8 -0
- package/expansionpanel/ExpansionPanel.mjs +116 -0
- package/expansionpanel/ExpansionPanelContent.js +8 -0
- package/expansionpanel/ExpansionPanelContent.mjs +23 -0
- package/gridlayout/GridLayout.js +8 -0
- package/gridlayout/GridLayout.mjs +83 -0
- package/gridlayout/GridLayoutItem.js +8 -0
- package/gridlayout/GridLayoutItem.mjs +46 -0
- package/index.d.mts +4593 -5
- package/index.d.ts +4593 -103
- package/index.js +8 -5
- package/index.mjs +139 -5037
- package/menu/components/Menu.js +8 -0
- package/menu/components/Menu.mjs +193 -0
- package/menu/components/MenuItem.js +8 -0
- package/menu/components/MenuItem.mjs +34 -0
- package/menu/components/MenuItemArrow.js +8 -0
- package/menu/components/MenuItemArrow.mjs +49 -0
- package/menu/components/MenuItemInternal.js +8 -0
- package/menu/components/MenuItemInternal.mjs +222 -0
- package/menu/components/MenuItemLink.js +8 -0
- package/menu/components/MenuItemLink.mjs +54 -0
- package/menu/consts.js +8 -0
- package/menu/consts.mjs +59 -0
- package/menu/utils/DirectionHolder.js +8 -0
- package/menu/utils/DirectionHolder.mjs +25 -0
- package/menu/utils/MouseOverHandler.js +8 -0
- package/menu/utils/MouseOverHandler.mjs +34 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +8 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +124 -0
- package/menu/utils/hoverDelay.js +8 -0
- package/menu/utils/hoverDelay.mjs +18 -0
- package/menu/utils/itemsIdsUtils.js +8 -0
- package/menu/utils/itemsIdsUtils.mjs +81 -0
- package/menu/utils/misc.js +8 -0
- package/menu/utils/misc.mjs +29 -0
- package/menu/utils/prepareInputItemsForInternalWork.js +8 -0
- package/menu/utils/prepareInputItemsForInternalWork.mjs +59 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +6 -6
- package/panelbar/PanelBar.js +8 -0
- package/panelbar/PanelBar.mjs +195 -0
- package/panelbar/PanelBarItem.js +8 -0
- package/panelbar/PanelBarItem.mjs +148 -0
- package/panelbar/interfaces/NavigationAction.js +8 -0
- package/panelbar/interfaces/NavigationAction.mjs +12 -0
- package/panelbar/util.js +8 -0
- package/panelbar/util.mjs +122 -0
- package/splitter/Splitter.js +8 -0
- package/splitter/Splitter.mjs +238 -0
- package/splitter/SplitterBar.js +8 -0
- package/splitter/SplitterBar.mjs +129 -0
- package/splitter/SplitterPane.js +8 -0
- package/splitter/SplitterPane.mjs +50 -0
- package/splitter/messages/index.js +8 -0
- package/splitter/messages/index.mjs +15 -0
- package/stacklayout/StackLayout.js +8 -0
- package/stacklayout/StackLayout.mjs +84 -0
- package/stepper/Step.js +8 -0
- package/stepper/Step.mjs +177 -0
- package/stepper/Stepper.js +8 -0
- package/stepper/Stepper.mjs +252 -0
- package/stepper/contants.js +8 -0
- package/stepper/contants.mjs +13 -0
- package/stepper/context/StepperContext.js +8 -0
- package/stepper/context/StepperContext.mjs +17 -0
- package/stepper/messages/index.js +8 -0
- package/stepper/messages/index.mjs +17 -0
- package/tabstrip/TabStrip.js +8 -0
- package/tabstrip/TabStrip.mjs +163 -0
- package/tabstrip/TabStripContent.js +8 -0
- package/tabstrip/TabStripContent.mjs +81 -0
- package/tabstrip/TabStripNavigation.js +8 -0
- package/tabstrip/TabStripNavigation.mjs +171 -0
- package/tabstrip/TabStripNavigationItem.js +8 -0
- package/tabstrip/TabStripNavigationItem.mjs +55 -0
- package/tabstrip/TabStripTab.js +8 -0
- package/tabstrip/TabStripTab.mjs +35 -0
- package/tilelayout/InternalTile.js +8 -0
- package/tilelayout/InternalTile.mjs +203 -0
- package/tilelayout/ResizeHandlers.js +8 -0
- package/tilelayout/ResizeHandlers.mjs +53 -0
- package/tilelayout/TileLayout.js +8 -0
- package/tilelayout/TileLayout.mjs +122 -0
- package/timeline/Timeline.js +8 -0
- package/timeline/Timeline.mjs +79 -0
- package/timeline/TimelineCard.js +8 -0
- package/timeline/TimelineCard.mjs +109 -0
- package/timeline/TimelineHorizontal.js +8 -0
- package/timeline/TimelineHorizontal.mjs +239 -0
- package/timeline/TimelineVertical.js +8 -0
- package/timeline/TimelineVertical.mjs +78 -0
- package/timeline/utils.js +8 -0
- package/timeline/utils.mjs +16 -0
- package/actionsheet/ActionSheet.d.ts +0 -138
- package/actionsheet/ActionSheetContent.d.ts +0 -14
- package/actionsheet/ActionSheetFooter.d.ts +0 -14
- package/actionsheet/ActionSheetHeader.d.ts +0 -14
- package/actionsheet/ActionSheetItem.d.ts +0 -10
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -17
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +0 -70
- package/appbar/AppBar.d.ts +0 -54
- package/appbar/AppBarSection.d.ts +0 -53
- package/appbar/AppBarSpacer.d.ts +0 -54
- package/appbar/interfaces/AppBarProps.d.ts +0 -83
- package/appbar/interfaces/AppBarSectionProps.d.ts +0 -22
- package/appbar/interfaces/AppBarSpacerProps.d.ts +0 -23
- package/bottomnavigation/BottomNavigation.d.ts +0 -42
- package/bottomnavigation/BottomNavigationItem.d.ts +0 -16
- package/bottomnavigation/BottomNavigationItemProps.d.ts +0 -64
- package/bottomnavigation/BottomNavigationProps.d.ts +0 -157
- package/bottomnavigation/models/events.d.ts +0 -24
- package/bottomnavigation/models/utils.d.ts +0 -40
- package/breadcrumb/Breadcrumb.d.ts +0 -163
- package/breadcrumb/BreadcrumbDelimiter.d.ts +0 -47
- package/breadcrumb/BreadcrumbLink.d.ts +0 -135
- package/breadcrumb/BreadcrumbListItem.d.ts +0 -55
- package/breadcrumb/BreadcrumbOrderedList.d.ts +0 -59
- package/card/Avatar.d.ts +0 -7
- package/card/Card.d.ts +0 -8
- package/card/CardActions.d.ts +0 -7
- package/card/CardBody.d.ts +0 -7
- package/card/CardFooter.d.ts +0 -7
- package/card/CardHeader.d.ts +0 -7
- package/card/CardImage.d.ts +0 -7
- package/card/CardSubtitle.d.ts +0 -7
- package/card/CardTitle.d.ts +0 -7
- package/card/interfaces/AvatarProps.d.ts +0 -88
- package/card/interfaces/CardActionsProps.d.ts +0 -38
- package/card/interfaces/CardBodyProps.d.ts +0 -18
- package/card/interfaces/CardFooterProps.d.ts +0 -18
- package/card/interfaces/CardHandle.d.ts +0 -18
- package/card/interfaces/CardHeaderProps.d.ts +0 -18
- package/card/interfaces/CardImageProps.d.ts +0 -22
- package/card/interfaces/CardProps.d.ts +0 -48
- package/card/interfaces/CardSubtitleProps.d.ts +0 -18
- package/card/interfaces/CardTitleProps.d.ts +0 -18
- package/card/interfaces/Enums.d.ts +0 -27
- package/contextmenu/ContextMenu.d.ts +0 -31
- package/drawer/Drawer.d.ts +0 -44
- package/drawer/DrawerContent.d.ts +0 -43
- package/drawer/DrawerItem.d.ts +0 -36
- package/drawer/DrawerNavigation.d.ts +0 -47
- package/drawer/context/DrawerContext.d.ts +0 -24
- package/drawer/interfaces/DrawerAnimation.d.ts +0 -18
- package/drawer/interfaces/DrawerContentProps.d.ts +0 -21
- package/drawer/interfaces/DrawerItemHandle.d.ts +0 -21
- package/drawer/interfaces/DrawerItemProps.d.ts +0 -64
- package/drawer/interfaces/DrawerNavigationProps.d.ts +0 -21
- package/drawer/interfaces/DrawerProps.d.ts +0 -86
- package/drawer/interfaces/DrawerSelectEvent.d.ts +0 -19
- package/expansionpanel/ExpansionPanel.d.ts +0 -10
- package/expansionpanel/ExpansionPanelContent.d.ts +0 -9
- package/expansionpanel/index.d.ts +0 -7
- package/expansionpanel/interfaces.d.ts +0 -92
- package/gridlayout/GridLayout.d.ts +0 -43
- package/gridlayout/GridLayoutItem.d.ts +0 -42
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -13
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +0 -44
- package/gridlayout/interfaces/GridLayoutProps.d.ts +0 -99
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -13
- package/menu/BaseMenuItemInternalProps.d.ts +0 -24
- package/menu/MenuProps.d.ts +0 -75
- package/menu/components/Menu.d.ts +0 -118
- package/menu/components/MenuItem.d.ts +0 -33
- package/menu/components/MenuItemArrow.d.ts +0 -50
- package/menu/components/MenuItemInternal.d.ts +0 -63
- package/menu/components/MenuItemLink.d.ts +0 -34
- package/menu/consts.d.ts +0 -58
- package/menu/events.d.ts +0 -20
- package/menu/models/BaseMenuItem.d.ts +0 -58
- package/menu/models/MenuItemModel.d.ts +0 -23
- package/menu/utils/DirectionHolder.d.ts +0 -15
- package/menu/utils/MouseOverHandler.d.ts +0 -21
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +0 -11
- package/menu/utils/hoverDelay.d.ts +0 -13
- package/menu/utils/itemsIdsUtils.d.ts +0 -68
- package/menu/utils/misc.d.ts +0 -20
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -10
- package/package-metadata.d.ts +0 -9
- package/panelbar/PanelBar.d.ts +0 -81
- package/panelbar/PanelBarItem.d.ts +0 -52
- package/panelbar/interfaces/NavigationAction.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemProps.d.ts +0 -98
- package/panelbar/interfaces/PanelBarProps.d.ts +0 -66
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +0 -18
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -19
- package/panelbar/util.d.ts +0 -56
- package/splitter/Splitter.d.ts +0 -136
- package/splitter/SplitterBar.d.ts +0 -44
- package/splitter/SplitterPane.d.ts +0 -57
- package/splitter/messages/index.d.ts +0 -14
- package/stacklayout/StackLayout.d.ts +0 -41
- package/stacklayout/StackLayoutProps.d.ts +0 -92
- package/stepper/Step.d.ts +0 -27
- package/stepper/Stepper.d.ts +0 -27
- package/stepper/contants.d.ts +0 -12
- package/stepper/context/StepperContext.d.ts +0 -27
- package/stepper/interfaces/StepChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepHandle.d.ts +0 -17
- package/stepper/interfaces/StepProps.d.ts +0 -83
- package/stepper/interfaces/StepperChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepperFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepperHandle.d.ts +0 -17
- package/stepper/interfaces/StepperProps.d.ts +0 -98
- package/stepper/messages/index.d.ts +0 -19
- package/tabstrip/TabStrip.d.ts +0 -158
- package/tabstrip/TabStripContent.d.ts +0 -62
- package/tabstrip/TabStripNavigation.d.ts +0 -110
- package/tabstrip/TabStripNavigationItem.d.ts +0 -75
- package/tabstrip/TabStripTab.d.ts +0 -42
- package/tilelayout/InternalTile.d.ts +0 -94
- package/tilelayout/ResizeHandlers.d.ts +0 -24
- package/tilelayout/TileLayout.d.ts +0 -153
- package/tilelayout/interfaces/index.d.ts +0 -145
- package/timeline/Timeline.d.ts +0 -102
- package/timeline/TimelineCard.d.ts +0 -38
- package/timeline/TimelineHorizontal.d.ts +0 -7
- package/timeline/TimelineVertical.d.ts +0 -16
- package/timeline/utils.d.ts +0 -19
package/appbar/AppBar.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { AppBarProps } from './interfaces/AppBarProps';
|
|
7
|
-
/**
|
|
8
|
-
* The AppBar ref.
|
|
9
|
-
*/
|
|
10
|
-
export interface AppBarHandle {
|
|
11
|
-
/**
|
|
12
|
-
* The AppBar element.
|
|
13
|
-
*/
|
|
14
|
-
element: HTMLDivElement | null;
|
|
15
|
-
/**
|
|
16
|
-
* Focus the AppBar.
|
|
17
|
-
*/
|
|
18
|
-
focus: () => void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Represents the [KendoReact AppBar component]({% slug overview_appbar %}).
|
|
22
|
-
* Used to display information, actions, branding titles and additional navigation on the current screen.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```jsx
|
|
26
|
-
*
|
|
27
|
-
* const App = () => {
|
|
28
|
-
* return (
|
|
29
|
-
* <AppBar>
|
|
30
|
-
* <AppBarSection>
|
|
31
|
-
* <span className="k-icon k-i-menu" />
|
|
32
|
-
* </AppBarSection>
|
|
33
|
-
*
|
|
34
|
-
* <AppBarSpacer style={{ width: 8 }} />
|
|
35
|
-
*
|
|
36
|
-
* <AppBarSection>
|
|
37
|
-
* <h1 className="title">{tc.text} AppBar</h1>
|
|
38
|
-
* </AppBarSection>
|
|
39
|
-
*
|
|
40
|
-
* <AppBarSpacer />
|
|
41
|
-
*
|
|
42
|
-
* <AppBarSection>
|
|
43
|
-
* <BadgeContainer>
|
|
44
|
-
* <span className="k-icon k-i-bell" />
|
|
45
|
-
* <Badge themeColor="info" shape="dot" />
|
|
46
|
-
* </BadgeContainer>
|
|
47
|
-
* </AppBarSection>
|
|
48
|
-
* </AppBar>
|
|
49
|
-
* );
|
|
50
|
-
* };
|
|
51
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
export declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<AppBarHandle | null>>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { AppBarSectionProps } from './interfaces/AppBarSectionProps';
|
|
7
|
-
/**
|
|
8
|
-
* The AppBarSection ref.
|
|
9
|
-
*/
|
|
10
|
-
export interface AppBarSectionHandle {
|
|
11
|
-
/**
|
|
12
|
-
* The AppBarSection element.
|
|
13
|
-
*/
|
|
14
|
-
element: HTMLDivElement | null;
|
|
15
|
-
/**
|
|
16
|
-
* Focus the AppBarSection.
|
|
17
|
-
*/
|
|
18
|
-
focus: () => void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Represents the [KendoReact AppBarSection component]({% slug contentarrangement_appbar %}#toc-defining-sections).
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```jsx
|
|
25
|
-
*
|
|
26
|
-
* const App = () => {
|
|
27
|
-
* return (
|
|
28
|
-
* <AppBar>
|
|
29
|
-
* <AppBarSection>
|
|
30
|
-
* <span className="k-icon k-i-menu" />
|
|
31
|
-
* </AppBarSection>
|
|
32
|
-
*
|
|
33
|
-
* <AppBarSpacer style={{ width: 8 }} />
|
|
34
|
-
*
|
|
35
|
-
* <AppBarSection>
|
|
36
|
-
* <h1 className="title">{tc.text} AppBar</h1>
|
|
37
|
-
* </AppBarSection>
|
|
38
|
-
*
|
|
39
|
-
* <AppBarSpacer />
|
|
40
|
-
*
|
|
41
|
-
* <AppBarSection>
|
|
42
|
-
* <BadgeContainer>
|
|
43
|
-
* <span className="k-icon k-i-bell" />
|
|
44
|
-
* <Badge themeColor="info" shape="dot" />
|
|
45
|
-
* </BadgeContainer>
|
|
46
|
-
* </AppBarSection>
|
|
47
|
-
* </AppBar>
|
|
48
|
-
* );
|
|
49
|
-
* };
|
|
50
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
export declare const AppBarSection: React.ForwardRefExoticComponent<AppBarSectionProps & React.RefAttributes<AppBarSectionHandle | null>>;
|
package/appbar/AppBarSpacer.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { AppBarSpacerProps } from './interfaces/AppBarSpacerProps';
|
|
7
|
-
/**
|
|
8
|
-
* The AppBarSpacer ref.
|
|
9
|
-
*/
|
|
10
|
-
export interface AppBarSpacerHandle {
|
|
11
|
-
/**
|
|
12
|
-
* The AppBarSpacer element.
|
|
13
|
-
*/
|
|
14
|
-
element: HTMLDivElement | null;
|
|
15
|
-
/**
|
|
16
|
-
* Focus the AppBarSpacer.
|
|
17
|
-
*/
|
|
18
|
-
focus: () => void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Represents the [KendoReact AppBarSpacer component]({% slug contentarrangement_appbar %}#toc-defining-spacings).
|
|
22
|
-
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```jsx
|
|
26
|
-
*
|
|
27
|
-
* const App = () => {
|
|
28
|
-
* return (
|
|
29
|
-
* <AppBar>
|
|
30
|
-
* <AppBarSection>
|
|
31
|
-
* <span className="k-icon k-i-menu" />
|
|
32
|
-
* </AppBarSection>
|
|
33
|
-
*
|
|
34
|
-
* <AppBarSpacer style={{ width: 8 }} />
|
|
35
|
-
*
|
|
36
|
-
* <AppBarSection>
|
|
37
|
-
* <h1 className="title">{tc.text} AppBar</h1>
|
|
38
|
-
* </AppBarSection>
|
|
39
|
-
*
|
|
40
|
-
* <AppBarSpacer />
|
|
41
|
-
*
|
|
42
|
-
* <AppBarSection>
|
|
43
|
-
* <BadgeContainer>
|
|
44
|
-
* <span className="k-icon k-i-bell" />
|
|
45
|
-
* <Badge themeColor="info" shape="dot" />
|
|
46
|
-
* </BadgeContainer>
|
|
47
|
-
* </AppBarSection>
|
|
48
|
-
* </AppBar>
|
|
49
|
-
* );
|
|
50
|
-
* };
|
|
51
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
export declare const AppBarSpacer: React.ForwardRefExoticComponent<AppBarSpacerProps & React.RefAttributes<AppBarSpacerHandle | null>>;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the props of the [KendoReact AppBar component]({% slug overview_appbar %}).
|
|
8
|
-
* Used to display information, actions, branding titles and additional navigation on the current screen.
|
|
9
|
-
*/
|
|
10
|
-
export interface AppBarProps {
|
|
11
|
-
/**
|
|
12
|
-
* Represents the children that are passed to the AppBar.
|
|
13
|
-
*/
|
|
14
|
-
children?: any;
|
|
15
|
-
/**
|
|
16
|
-
* Sets additional CSS classes to the AppBar.
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Sets additional CSS styles to the AppBar.
|
|
21
|
-
*/
|
|
22
|
-
style?: React.CSSProperties;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the `id` property of the root AppBar element.
|
|
25
|
-
*/
|
|
26
|
-
id?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the position of the AppBar ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
29
|
-
*
|
|
30
|
-
* * The possible values are:
|
|
31
|
-
* * 'top' (Default)
|
|
32
|
-
* * 'bottom'
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
position?: AppBarPosition;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies the positionMode of the AppBar ([see example]({% slug positioning_appbar %}#toc-positionmode)).
|
|
38
|
-
*
|
|
39
|
-
* * The possible values are:
|
|
40
|
-
* * 'static' (Default)
|
|
41
|
-
* * 'sticky'
|
|
42
|
-
* * 'fixed'
|
|
43
|
-
*/
|
|
44
|
-
positionMode?: AppBarPositionMode;
|
|
45
|
-
/**
|
|
46
|
-
* Specifies the theme color of the AppBar ([see example]({% slug appearance_appbar %})).
|
|
47
|
-
*
|
|
48
|
-
* * The possible values are:
|
|
49
|
-
* * `inherit`
|
|
50
|
-
* * `light` (Default)
|
|
51
|
-
* * `dark`
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
themeColor?: AppBarThemeColor;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Specifies the position of the AppBar ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
58
|
-
*
|
|
59
|
-
* * The possible values are:
|
|
60
|
-
* * 'top' (Default)
|
|
61
|
-
* * 'bottom'
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export type AppBarPosition = 'top' | 'bottom';
|
|
65
|
-
/**
|
|
66
|
-
* Specifies the positionMode of the AppBar ([see example]({% slug positioning_appbar %}#toc-positionmode)).
|
|
67
|
-
*
|
|
68
|
-
* * The possible values are:
|
|
69
|
-
* * 'static' (Default)
|
|
70
|
-
* * 'sticky'
|
|
71
|
-
* * 'fixed'
|
|
72
|
-
*/
|
|
73
|
-
export type AppBarPositionMode = 'static' | 'sticky' | 'fixed';
|
|
74
|
-
/**
|
|
75
|
-
* Specifies the theme color of the AppBar ([see example]({% slug appearance_appbar %})).
|
|
76
|
-
*
|
|
77
|
-
* * The possible values are:
|
|
78
|
-
* * `inherit`
|
|
79
|
-
* * `light` (Default)
|
|
80
|
-
* * `dark`
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
|
-
export type AppBarThemeColor = 'light' | 'dark' | 'inherit';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the props of the [KendoReact AppBarSection component]({% slug contentarrangement_appbar %}#toc-defining-sections).
|
|
8
|
-
*/
|
|
9
|
-
export interface AppBarSectionProps {
|
|
10
|
-
/**
|
|
11
|
-
* Represents the children that are passed to the AppBarSection.
|
|
12
|
-
*/
|
|
13
|
-
children?: any;
|
|
14
|
-
/**
|
|
15
|
-
* Sets additional CSS classes to the AppBarSection.
|
|
16
|
-
*/
|
|
17
|
-
className?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Sets additional CSS styles to the AppBarSection.
|
|
20
|
-
*/
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the props of the [KendoReact AppBarSpacer component]({% slug contentarrangement_appbar %}#toc-defining-spacings).
|
|
8
|
-
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
9
|
-
*/
|
|
10
|
-
export interface AppBarSpacerProps {
|
|
11
|
-
/**
|
|
12
|
-
* Sets additional CSS classes to the AppBarSpacer.
|
|
13
|
-
*/
|
|
14
|
-
className?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets additional CSS styles to the AppBarSpacer.
|
|
17
|
-
*/
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
/**
|
|
20
|
-
* Determines the children nodes.
|
|
21
|
-
*/
|
|
22
|
-
children?: React.ReactNode;
|
|
23
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { BottomNavigationProps } from './BottomNavigationProps';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the Object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html)
|
|
9
|
-
* callback of the BottomNavigation component.
|
|
10
|
-
*/
|
|
11
|
-
export interface BottomNavigationHandle {
|
|
12
|
-
/**
|
|
13
|
-
* The current element or `null` if there is no one.
|
|
14
|
-
*/
|
|
15
|
-
element: HTMLElement | null;
|
|
16
|
-
/**
|
|
17
|
-
* Focus the BottomNavigation first item.
|
|
18
|
-
*/
|
|
19
|
-
focus: () => void;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Represents the [KendoReact BottomNavigation component]({% slug overview_bottomnavigation %}).
|
|
23
|
-
* Used to switch between primary destinations in an application.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```jsx
|
|
27
|
-
* const items = [
|
|
28
|
-
* { text: 'Photos', icon: 'photo', selected: true },
|
|
29
|
-
* { text: 'Albums', icon: 'folder' },
|
|
30
|
-
* { text: 'Search', icon: 'search' },
|
|
31
|
-
* { text: 'More', icon: 'more-horizontal' },
|
|
32
|
-
* ];
|
|
33
|
-
*
|
|
34
|
-
* const App = () => {
|
|
35
|
-
* return (
|
|
36
|
-
* <BottomNavigation items={items} />
|
|
37
|
-
* );
|
|
38
|
-
* };
|
|
39
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
export declare const BottomNavigation: React.ForwardRefExoticComponent<BottomNavigationProps & React.RefAttributes<BottomNavigationHandle | null>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { BottomNavigationItemProps } from '..';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export interface BottomNavigationItemHandle {
|
|
11
|
-
element: HTMLElement | null;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [KendoReact BottomNavigationItem component]({% slug overview_bottomnavigation %}).
|
|
15
|
-
*/
|
|
16
|
-
export declare const BottomNavigationItem: React.ForwardRefExoticComponent<Omit<BottomNavigationItemProps, "ref"> & React.RefAttributes<BottomNavigationItemHandle | null>>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { SVGIcon } from '@progress/kendo-react-common';
|
|
6
|
-
/**
|
|
7
|
-
* The interface for describing items that can be passed to the `items` property of the BottomNavigation component.
|
|
8
|
-
*/
|
|
9
|
-
export interface BottomNavigationItemProps {
|
|
10
|
-
/**
|
|
11
|
-
* Sets additional CSS classes to the BottomNavigation item.
|
|
12
|
-
*/
|
|
13
|
-
className?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets additional CSS styles to the BottomNavigation item.
|
|
16
|
-
*/
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
/**
|
|
19
|
-
* Disables the BottomNavigation item.
|
|
20
|
-
*/
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies if the BottomNavigation item is selected.
|
|
24
|
-
*/
|
|
25
|
-
selected?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Defines the name for an existing icon in a KendoReact theme.
|
|
28
|
-
* The icon is rendered inside the BottomNavigation item by a `span.k-icon` element.
|
|
29
|
-
*/
|
|
30
|
-
icon?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Defines an SVG icon.
|
|
33
|
-
* The icon is rendered inside the BottomNavigation item.
|
|
34
|
-
*/
|
|
35
|
-
svgIcon?: SVGIcon;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies the text content of the BottomNavigation item.
|
|
38
|
-
*/
|
|
39
|
-
text?: React.ReactNode;
|
|
40
|
-
/**
|
|
41
|
-
* Sets the `tabIndex` property of the BottomNavigation item. Defaults to `0`.
|
|
42
|
-
*/
|
|
43
|
-
tabIndex?: number;
|
|
44
|
-
/**
|
|
45
|
-
* Sets a custom property. Contained in the BottomNavItem props that are returned from the `onSelect` BottomNavigation event.
|
|
46
|
-
*/
|
|
47
|
-
[customProp: string]: any;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
index?: number;
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
item?: any;
|
|
56
|
-
/**
|
|
57
|
-
* @hidden
|
|
58
|
-
*/
|
|
59
|
-
dataItem?: any;
|
|
60
|
-
/**
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
id?: string;
|
|
64
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BottomNavigationItemProps } from './BottomNavigationItemProps';
|
|
6
|
-
import { BottomNavigationEvent, BottomNavigationSelectEvent } from './models/events';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the [KendoReact BottomNavigation component]({% slug overview_bottomnavigation %}).
|
|
9
|
-
*/
|
|
10
|
-
export interface BottomNavigationProps {
|
|
11
|
-
/**
|
|
12
|
-
* Sets additional CSS classes to the BottomNavigation.
|
|
13
|
-
*/
|
|
14
|
-
className?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets additional CSS styles to the BottomNavigation.
|
|
17
|
-
*/
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the `id` property of the root BottomNavigation element.
|
|
21
|
-
*/
|
|
22
|
-
id?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
|
|
25
|
-
*/
|
|
26
|
-
dir?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the theme color of the BottomNavigation
|
|
29
|
-
* ([see example]({% slug appearance_bottomnavigation %}#toc-theme-color)).
|
|
30
|
-
*
|
|
31
|
-
* The possible values are:
|
|
32
|
-
* * `primary` (Default) — Applies coloring based on the primary theme color.
|
|
33
|
-
* * `secondary` — Applies coloring based on the secondary theme color.
|
|
34
|
-
* * `tertiary` — Applies coloring based on the tertiary theme color.
|
|
35
|
-
* * `info` — Applies coloring based on the info theme color.
|
|
36
|
-
* * `success` — Applies coloring based on the success theme color.
|
|
37
|
-
* * `warning` — Applies coloring based on the warning theme color.
|
|
38
|
-
* * `error` — Applies coloring based on the error theme color.
|
|
39
|
-
* * `dark` — Applies coloring based on the dark theme color.
|
|
40
|
-
* * `light` — Applies coloring based on the light theme color.
|
|
41
|
-
* * `inverse` — Applies coloring based on the inverted theme color.
|
|
42
|
-
*/
|
|
43
|
-
themeColor?: BottomNavigationThemeColor;
|
|
44
|
-
/**
|
|
45
|
-
* **Deprecated**. Use `fillMode` prop instead.
|
|
46
|
-
*
|
|
47
|
-
* @deprecated
|
|
48
|
-
*/
|
|
49
|
-
fill?: BottomNavigationFill;
|
|
50
|
-
/**
|
|
51
|
-
* The fill style of the BottomNavigation
|
|
52
|
-
* ([see example]({% slug appearance_bottomnavigation %}#toc-fill)).
|
|
53
|
-
*
|
|
54
|
-
* The possible values are:
|
|
55
|
-
* * `flat`(Default) — Sets the theme color as the text color. The background will be white.
|
|
56
|
-
* * `solid` — Sets the theme color as a background color.
|
|
57
|
-
*/
|
|
58
|
-
fillMode?: BottomNavigationFill;
|
|
59
|
-
/**
|
|
60
|
-
* Specifies the position and behavior of the BottomNavigation when the page is scrolled
|
|
61
|
-
* ([see example]({% slug positioning_bottomnavigation %}#toc-position-mode)).
|
|
62
|
-
*
|
|
63
|
-
* The possible values are:
|
|
64
|
-
* * `fixed`(Default) — The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
65
|
-
* * `sticky` — Positions the BottomNavigation based on the user's scroll position. A sticky element toggles between static
|
|
66
|
-
* and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
|
|
67
|
-
* It is positioned static until a given offset position is met in the viewport - then it "sticks" in place like `fixed` positionMode.
|
|
68
|
-
*/
|
|
69
|
-
positionMode?: BottomNavigationPositionMode;
|
|
70
|
-
/**
|
|
71
|
-
* Specifies how the icon and text label are positioned in each item of the BottomNavigation
|
|
72
|
-
* ([see example]({% slug content_types_bottomnavigation %}#toc-item-flow)).
|
|
73
|
-
*
|
|
74
|
-
* The possible values are:
|
|
75
|
-
* * `vertical`(Default) — Renders the text below the icon.
|
|
76
|
-
* * `horizontal` — Renders the text and the icon on the same line.
|
|
77
|
-
*/
|
|
78
|
-
itemFlow?: BottomNavigationItemFlow;
|
|
79
|
-
/**
|
|
80
|
-
* Sets a border to the BottomNavigation.
|
|
81
|
-
*/
|
|
82
|
-
border?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Disables the whole BottomNavigation.
|
|
85
|
-
*/
|
|
86
|
-
disabled?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* The collection of items that will be rendered in the BottomNavigation ([see example]({% slug overview_bottomnavigation %})).
|
|
89
|
-
*/
|
|
90
|
-
items?: Array<BottomNavigationItemProps>;
|
|
91
|
-
/**
|
|
92
|
-
* Overrides the default component's content responsible for visualizing a single item
|
|
93
|
-
* ([see example]({% slug custom_rendering_bottomnavigation %}#toc-custom-rendering)).
|
|
94
|
-
*/
|
|
95
|
-
item?: React.ComponentType<BottomNavigationItemProps>;
|
|
96
|
-
/**
|
|
97
|
-
* Fires when a BottomNavigation item is about to be rendered
|
|
98
|
-
* ([see example]({% slug custom_rendering_bottomnavigation %}#toc-item-render-property)).
|
|
99
|
-
* Used to override the default appearance of the items.
|
|
100
|
-
*/
|
|
101
|
-
itemRender?: (span: React.ReactElement<HTMLSpanElement>, itemProps: BottomNavigationItemProps) => React.ReactNode;
|
|
102
|
-
/**
|
|
103
|
-
* Fires when a BottomNavigation item is selected.
|
|
104
|
-
*/
|
|
105
|
-
onSelect?: (event: BottomNavigationSelectEvent) => void;
|
|
106
|
-
/**
|
|
107
|
-
* Triggered on `onKeyDown` event.
|
|
108
|
-
*/
|
|
109
|
-
onKeyDown?: (event: BottomNavigationEvent) => void;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* The fill style of the BottomNavigation
|
|
113
|
-
* ([see example]({% slug appearance_bottomnavigation %}#toc-fill)).
|
|
114
|
-
*
|
|
115
|
-
* The possible values are:
|
|
116
|
-
* * `flat`(Default) — Sets the theme color as the text color. The background will be white.
|
|
117
|
-
* * `solid` — Sets the theme color as a background color.
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
export type BottomNavigationFill = 'solid' | 'flat';
|
|
121
|
-
/**
|
|
122
|
-
* Specifies how the icon and text label are positioned in each item of the BottomNavigation
|
|
123
|
-
* ([see example]({% slug content_types_bottomnavigation %}#toc-item-flow)).
|
|
124
|
-
*
|
|
125
|
-
* The possible values are:
|
|
126
|
-
* * `vertical`(Default) — Renders the text below the icon.
|
|
127
|
-
* * `horizontal` — Renders the text and the icon on the same line.
|
|
128
|
-
*/
|
|
129
|
-
export type BottomNavigationItemFlow = 'vertical' | 'horizontal';
|
|
130
|
-
/**
|
|
131
|
-
* Specifies the theme color of the BottomNavigationThemeColor.
|
|
132
|
-
* ([see example]({% slug appearance_bottomnavigation %}#toc-theme-color)).
|
|
133
|
-
*
|
|
134
|
-
* The possible values are:
|
|
135
|
-
* * `primary` (Default) — Applies coloring based on the primary theme color.
|
|
136
|
-
* * `secondary` — Applies coloring based on the secondary theme color.
|
|
137
|
-
* * `tertiary` — Applies coloring based on the tertiary theme color.
|
|
138
|
-
* * `info` — Applies coloring based on the info theme color.
|
|
139
|
-
* * `success` — Applies coloring based on the success theme color.
|
|
140
|
-
* * `warning` — Applies coloring based on the warning theme color.
|
|
141
|
-
* * `error` — Applies coloring based on the error theme color.
|
|
142
|
-
* * `dark` — Applies coloring based on the dark theme color.
|
|
143
|
-
* * `light` — Applies coloring based on the light theme color.
|
|
144
|
-
* * `inverse` — Applies coloring based on the inverted theme color.
|
|
145
|
-
*/
|
|
146
|
-
export type BottomNavigationThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
147
|
-
/**
|
|
148
|
-
* Specifies the position and behavior of the BottomNavigation when the page is scrolled
|
|
149
|
-
* ([see example]({% slug positioning_bottomnavigation %}#toc-position-mode)).
|
|
150
|
-
*
|
|
151
|
-
* The possible values are:
|
|
152
|
-
* * `fixed`(Default) — The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
153
|
-
* * `sticky` — Positions the BottomNavigation based on the user's scroll position. A sticky element toggles between
|
|
154
|
-
* static and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
|
|
155
|
-
* It is positioned static until a given offset position is met in the viewport - then it "sticks" in place like `fixed` positionMode.
|
|
156
|
-
*/
|
|
157
|
-
export type BottomNavigationPositionMode = 'sticky' | 'fixed';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BottomNavigationHandle } from '../BottomNavigation';
|
|
6
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
7
|
-
/**
|
|
8
|
-
* The arguments for the `onSelect` BottomNavigation event.
|
|
9
|
-
*/
|
|
10
|
-
export interface BottomNavigationSelectEvent extends BaseEvent<BottomNavigationHandle> {
|
|
11
|
-
/**
|
|
12
|
-
* A BottomNavigation item event target.
|
|
13
|
-
*/
|
|
14
|
-
itemTarget: any;
|
|
15
|
-
/**
|
|
16
|
-
* The index of the selected BottomNavigation item.
|
|
17
|
-
*/
|
|
18
|
-
itemIndex: number;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Represents the return type of the BottomNavigation events.
|
|
22
|
-
*/
|
|
23
|
-
export interface BottomNavigationEvent extends BaseEvent<BottomNavigationHandle> {
|
|
24
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const THEME_COLOR_CLASSES: {
|
|
9
|
-
primary: string;
|
|
10
|
-
secondary: string;
|
|
11
|
-
tertiary: string;
|
|
12
|
-
info: string;
|
|
13
|
-
success: string;
|
|
14
|
-
warning: string;
|
|
15
|
-
error: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
light: string;
|
|
18
|
-
inverse: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export declare const FILL_CLASSES: {
|
|
24
|
-
flat: string;
|
|
25
|
-
solid: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export declare const ITEM_FLOW_CLASSES: {
|
|
31
|
-
vertical: string;
|
|
32
|
-
horizontal: string;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export declare const POSITION_MODE_CLASSES: {
|
|
38
|
-
fixed: string;
|
|
39
|
-
sticky: string;
|
|
40
|
-
};
|