@progress/kendo-vue-layout 8.0.3-develop.2 → 8.0.3-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.d.ts +234 -0
- package/actionsheet/ActionSheetContent.d.ts +25 -0
- package/actionsheet/ActionSheetFooter.d.ts +25 -0
- package/actionsheet/ActionSheetHeader.d.ts +34 -0
- package/actionsheet/ActionSheetItem.d.ts +65 -0
- package/actionsheet/interfaces/ActionSheetContentProps.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetFooterProps.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetHeaderProps.d.ts +20 -0
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +81 -0
- package/appbar/AppBar.d.ts +60 -0
- package/appbar/AppBarSection.d.ts +21 -0
- package/appbar/AppBarSpacer.d.ts +30 -0
- package/appbar/interfaces/AppBarProps.d.ts +74 -0
- package/appbar/interfaces/AppBarSectionProps.d.ts +12 -0
- package/appbar/interfaces/AppBarSpacerProps.d.ts +14 -0
- package/bottomnavigation/BottomNavigation.d.ts +117 -0
- package/bottomnavigation/BottomNavigationItem.d.ts +59 -0
- package/bottomnavigation/BottomNavigationItemProps.d.ts +61 -0
- package/bottomnavigation/BottomNavigationProps.d.ts +154 -0
- package/bottomnavigation/models/events.d.ts +25 -0
- package/bottomnavigation/models/utils.d.ts +43 -0
- package/breadcrumb/Breadcrumb.d.ts +143 -0
- package/breadcrumb/BreadcrumbDelimiter.d.ts +21 -0
- package/breadcrumb/BreadcrumbLink.d.ts +63 -0
- package/breadcrumb/BreadcrumbListItem.d.ts +30 -0
- package/breadcrumb/BreadcrumbOrderedList.d.ts +42 -0
- package/breadcrumb/interfaces/BreadcrumbDelimiterProps.d.ts +24 -0
- package/breadcrumb/interfaces/BreadcrumbLinkProps.d.ts +61 -0
- package/breadcrumb/interfaces/BreadcrumbListItemProps.d.ts +24 -0
- package/breadcrumb/interfaces/BreadcrumbOrderedListProps.d.ts +42 -0
- package/breadcrumb/interfaces/BreadcrumbProps.d.ts +138 -0
- package/card/Avatar.d.ts +76 -0
- package/card/Card.d.ts +50 -0
- package/card/CardActions.d.ts +52 -0
- package/card/CardBody.d.ts +12 -0
- package/card/CardFooter.d.ts +12 -0
- package/card/CardHeader.d.ts +12 -0
- package/card/CardImage.d.ts +17 -0
- package/card/CardSubtitle.d.ts +12 -0
- package/card/CardTitle.d.ts +12 -0
- package/card/interfaces/AvatarProps.d.ts +79 -0
- package/card/interfaces/CardActionsProps.d.ts +29 -0
- package/card/interfaces/CardBodyProps.d.ts +9 -0
- package/card/interfaces/CardFooterProps.d.ts +9 -0
- package/card/interfaces/CardHeaderProps.d.ts +9 -0
- package/card/interfaces/CardImageProps.d.ts +13 -0
- package/card/interfaces/CardProps.d.ts +34 -0
- package/card/interfaces/CardSubtitleProps.d.ts +9 -0
- package/card/interfaces/CardTitleProps.d.ts +9 -0
- package/card/interfaces/Enums.d.ts +39 -0
- package/card/interfaces/Enums.js +1 -1
- package/card/interfaces/Enums.mjs +5 -5
- package/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/drawer/Drawer.d.ts +148 -0
- package/drawer/DrawerContent.d.ts +84 -0
- package/drawer/DrawerItem.d.ts +81 -0
- package/drawer/DrawerNavigation.d.ts +47 -0
- package/drawer/context/DrawerContext.d.ts +24 -0
- package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
- package/drawer/interfaces/DrawerContentProps.d.ts +12 -0
- package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
- package/drawer/interfaces/DrawerItemProps.d.ts +55 -0
- package/drawer/interfaces/DrawerNavigationProps.d.ts +21 -0
- package/drawer/interfaces/DrawerProps.d.ts +92 -0
- package/drawer/interfaces/DrawerSelectEvent.d.ts +20 -0
- package/expansionpanel/ExpansionPanel.d.ts +59 -0
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
- package/expansionpanel/interfaces.d.ts +95 -0
- package/expansionpanel/main.d.ts +10 -0
- package/gridlayout/GridLayout.d.ts +61 -0
- package/gridlayout/GridLayoutItem.d.ts +35 -0
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +17 -0
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +46 -0
- package/gridlayout/interfaces/GridLayoutProps.d.ts +102 -0
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +17 -0
- package/index.d.mts +86 -4954
- package/index.d.ts +86 -4954
- package/menu/BaseMenuItemInternalProps.d.ts +27 -0
- package/menu/MenuProps.d.ts +58 -0
- package/menu/components/Menu.d.ts +117 -0
- package/menu/components/MenuItemArrow.d.ts +52 -0
- package/menu/components/MenuItemArrow.mjs +2 -2
- package/menu/components/MenuItemInternal.d.ts +173 -0
- package/menu/components/MenuItemLink.d.ts +53 -0
- package/menu/consts.d.ts +61 -0
- package/menu/events.d.ts +21 -0
- package/menu/models/BaseMenuItem.d.ts +65 -0
- package/menu/models/MenuItemModel.d.ts +26 -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 +12 -0
- package/messages/main.d.ts +22 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +15 -9
- package/panelbar/PanelBar.d.ts +88 -0
- package/panelbar/PanelBarItem.d.ts +87 -0
- package/panelbar/interfaces/NavigationAction.d.ts +15 -0
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +14 -0
- package/panelbar/interfaces/PanelBarItemProps.d.ts +97 -0
- package/panelbar/interfaces/PanelBarProps.d.ts +65 -0
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +20 -0
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +21 -0
- package/panelbar/util.d.ts +42 -0
- package/splitter/Splitter.d.ts +170 -0
- package/splitter/SplitterBar.d.ts +72 -0
- package/splitter/SplitterPane.d.ts +101 -0
- package/stacklayout/StackLayout.d.ts +64 -0
- package/stacklayout/StackLayoutProps.d.ts +82 -0
- package/stepper/Step.d.ts +120 -0
- package/stepper/Stepper.d.ts +195 -0
- package/stepper/contants.d.ts +15 -0
- package/stepper/context/StepperContext.d.ts +23 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +16 -0
- package/stepper/interfaces/StepFocusEvent.d.ts +12 -0
- package/stepper/interfaces/StepHandle.d.ts +20 -0
- package/stepper/interfaces/StepProps.d.ts +91 -0
- package/stepper/interfaces/StepperChangeEvent.d.ts +16 -0
- package/stepper/interfaces/StepperFocusEvent.d.ts +12 -0
- package/stepper/interfaces/StepperHandle.d.ts +20 -0
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +30 -0
- package/stepper/interfaces/StepperProps.d.ts +95 -0
- package/stepper/messages/main.d.ts +22 -0
- package/tabstrip/TabStrip.d.ts +171 -0
- package/tabstrip/TabStripContent.d.ts +71 -0
- package/tabstrip/TabStripNavigation.d.ts +101 -0
- package/tabstrip/TabStripNavigationItem.d.ts +118 -0
- package/tabstrip/TabStripTab.d.ts +59 -0
- package/tabstrip/utils.d.ts +8 -0
- package/tilelayout/ResizeHandlers.d.ts +84 -0
- package/tilelayout/Tile.d.ts +105 -0
- package/tilelayout/TileLayout.d.ts +126 -0
- package/tilelayout/interfaces/main.d.ts +205 -0
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
* Represents the props of the [Kendo UI for Vue AppBar component]({% slug overview_appbar %}).
|
|
10
|
+
* Used to display information, actions, branding titles and additional navigation on the current screen.
|
|
11
|
+
*/
|
|
12
|
+
export interface AppBarProps {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the `id` property of the root AppBar element.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Specifies the position of the AppBar ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
19
|
+
*
|
|
20
|
+
* * The possible values are:
|
|
21
|
+
* * 'top' (Default)
|
|
22
|
+
* * 'bottom'
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
position?: AppBarPosition | string;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the positionMode of the AppBar ([see example]({% slug positioning_appbar %}#toc-position-mode)).
|
|
28
|
+
*
|
|
29
|
+
* * The possible values are:
|
|
30
|
+
* * 'static' (Default)
|
|
31
|
+
* * 'sticky'
|
|
32
|
+
* * 'fixed'
|
|
33
|
+
*/
|
|
34
|
+
positionMode?: AppBarPositionMode | string;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the theme color of the AppBar ([see example]({% slug appearance_appbar %})).
|
|
37
|
+
*
|
|
38
|
+
* * The possible values are:
|
|
39
|
+
* * `light` (Default)
|
|
40
|
+
* * 'primary'
|
|
41
|
+
* * 'dark'
|
|
42
|
+
* * 'inherit'
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
themeColor?: AppBarThemeColor | string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the position of the AppBar ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
49
|
+
*
|
|
50
|
+
* * The possible values are:
|
|
51
|
+
* * 'top' (Default)
|
|
52
|
+
* * 'bottom'
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
export type AppBarPosition = 'top' | 'bottom';
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the positionMode of the AppBar ([see example]({% slug positioning_appbar %}#toc-position-mode)).
|
|
58
|
+
*
|
|
59
|
+
* * The possible values are:
|
|
60
|
+
* * 'static' (Default)
|
|
61
|
+
* * 'sticky'
|
|
62
|
+
* * 'fixed'
|
|
63
|
+
*/
|
|
64
|
+
export type AppBarPositionMode = 'static' | 'sticky' | 'fixed';
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the theme color of the AppBar ([see example]({% slug appearance_appbar %})).
|
|
67
|
+
*
|
|
68
|
+
* * The possible values are:
|
|
69
|
+
* * `inherit`
|
|
70
|
+
* * `light` (Default)
|
|
71
|
+
* * `dark`
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export type AppBarThemeColor = 'light' | 'dark' | 'inherit';
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
* Represents the props of the [Kendo UI for Vue AppBarSection component]({% slug contentarrangement_appbar %}#toc-defining-sections).
|
|
10
|
+
*/
|
|
11
|
+
export interface AppBarSectionProps {
|
|
12
|
+
}
|
|
@@ -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
|
+
/**
|
|
9
|
+
* Represents the props of the [Kendo UI for Vue AppBarSpacer component]({% slug contentarrangement_appbar %}#toc-defining-spacings).
|
|
10
|
+
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
11
|
+
*/
|
|
12
|
+
export interface AppBarSpacerProps {
|
|
13
|
+
width?: string | number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { PropType } from 'vue';
|
|
9
|
+
import { BottomNavigationSelectEvent } from './models/events';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface BottomNavigationComputed {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
navClasses: object;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
declare const BottomNavigation: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
dir: PropType<string>;
|
|
22
|
+
themeColor: {
|
|
23
|
+
type: PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: string) => any;
|
|
26
|
+
};
|
|
27
|
+
fill: {
|
|
28
|
+
type: PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => any;
|
|
31
|
+
};
|
|
32
|
+
fillMode: {
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (value: string) => any;
|
|
36
|
+
};
|
|
37
|
+
item: PropType<any>;
|
|
38
|
+
items: PropType<import('./BottomNavigationItemProps').BottomNavigationItemProps[]>;
|
|
39
|
+
itemFlow: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
validator: (value: string) => any;
|
|
43
|
+
};
|
|
44
|
+
positionMode: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
default: string;
|
|
47
|
+
validator: (value: string) => any;
|
|
48
|
+
};
|
|
49
|
+
border: {
|
|
50
|
+
type: PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
disabled: PropType<boolean>;
|
|
54
|
+
selected: PropType<number>;
|
|
55
|
+
}>, {}, {}, {
|
|
56
|
+
navClasses(): {
|
|
57
|
+
[x: string]: any;
|
|
58
|
+
[x: number]: boolean;
|
|
59
|
+
'k-bottom-nav': boolean;
|
|
60
|
+
'k-bottom-nav-border': any;
|
|
61
|
+
'k-disabled': any;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
focus(): void;
|
|
65
|
+
dispatchSelectEvent(dispatchedEvent: any, index: number): void;
|
|
66
|
+
handleSelect(event: any, clickedItemIndex: number): void;
|
|
67
|
+
handleKeyDown(event: any, clickedItemIndex: number): void;
|
|
68
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
+
keydown: any;
|
|
70
|
+
select: (event: BottomNavigationSelectEvent) => true;
|
|
71
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
+
dir: PropType<string>;
|
|
73
|
+
themeColor: {
|
|
74
|
+
type: PropType<string>;
|
|
75
|
+
default: string;
|
|
76
|
+
validator: (value: string) => any;
|
|
77
|
+
};
|
|
78
|
+
fill: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
validator: (value: string) => any;
|
|
82
|
+
};
|
|
83
|
+
fillMode: {
|
|
84
|
+
type: PropType<string>;
|
|
85
|
+
default: string;
|
|
86
|
+
validator: (value: string) => any;
|
|
87
|
+
};
|
|
88
|
+
item: PropType<any>;
|
|
89
|
+
items: PropType<import('./BottomNavigationItemProps').BottomNavigationItemProps[]>;
|
|
90
|
+
itemFlow: {
|
|
91
|
+
type: PropType<string>;
|
|
92
|
+
default: string;
|
|
93
|
+
validator: (value: string) => any;
|
|
94
|
+
};
|
|
95
|
+
positionMode: {
|
|
96
|
+
type: PropType<string>;
|
|
97
|
+
default: string;
|
|
98
|
+
validator: (value: string) => any;
|
|
99
|
+
};
|
|
100
|
+
border: {
|
|
101
|
+
type: PropType<boolean>;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
disabled: PropType<boolean>;
|
|
105
|
+
selected: PropType<number>;
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
onSelect?: (event: BottomNavigationSelectEvent) => any;
|
|
108
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
109
|
+
}>, {
|
|
110
|
+
fill: string;
|
|
111
|
+
themeColor: string;
|
|
112
|
+
fillMode: string;
|
|
113
|
+
border: boolean;
|
|
114
|
+
positionMode: string;
|
|
115
|
+
itemFlow: string;
|
|
116
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
export { BottomNavigation };
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface BottomNavigationItemComputed {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
itemClasses: object;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
declare const BottomNavigationItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
|
+
id: PropType<string>;
|
|
21
|
+
disabled: PropType<boolean>;
|
|
22
|
+
selected: PropType<boolean>;
|
|
23
|
+
icon: PropType<any>;
|
|
24
|
+
item: PropType<any>;
|
|
25
|
+
text: PropType<any>;
|
|
26
|
+
dataItem: PropType<any>;
|
|
27
|
+
index: PropType<number>;
|
|
28
|
+
tabIndex: {
|
|
29
|
+
type: PropType<number>;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {
|
|
33
|
+
itemClasses(): BottomNavigationItemComputed['itemClasses'];
|
|
34
|
+
}, {
|
|
35
|
+
handleClick(event: any): void;
|
|
36
|
+
handleKeyDown(event: any): void;
|
|
37
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
keydown: any;
|
|
39
|
+
select: any;
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
+
id: PropType<string>;
|
|
42
|
+
disabled: PropType<boolean>;
|
|
43
|
+
selected: PropType<boolean>;
|
|
44
|
+
icon: PropType<any>;
|
|
45
|
+
item: PropType<any>;
|
|
46
|
+
text: PropType<any>;
|
|
47
|
+
dataItem: PropType<any>;
|
|
48
|
+
index: PropType<number>;
|
|
49
|
+
tabIndex: {
|
|
50
|
+
type: PropType<number>;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
onSelect?: (...args: any[] | unknown[]) => any;
|
|
55
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
56
|
+
}>, {
|
|
57
|
+
tabIndex: number;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export { BottomNavigationItem };
|
|
@@ -0,0 +1,61 @@
|
|
|
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 interface for describing items that can be passed to the `items` property of the BottomNavigation component.
|
|
10
|
+
*/
|
|
11
|
+
export interface BottomNavigationItemProps {
|
|
12
|
+
/**
|
|
13
|
+
* Style the BottomNavigation item.
|
|
14
|
+
*/
|
|
15
|
+
style?: object;
|
|
16
|
+
/**
|
|
17
|
+
* Class the BottomNavigation item.
|
|
18
|
+
*/
|
|
19
|
+
class?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Disables the BottomNavigation item.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies if the BottomNavigation item is selected.
|
|
26
|
+
*/
|
|
27
|
+
selected?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the name for an existing icon in a Kendo UI for Vue theme.
|
|
30
|
+
* The icon is rendered inside the BottomNavigation item by a `span.k-icon` element.
|
|
31
|
+
*/
|
|
32
|
+
icon?: any;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the text content of the BottomNavigation item.
|
|
35
|
+
*/
|
|
36
|
+
text?: any;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the `tabIndex` property of the BottomNavigation item. Defaults to `0`.
|
|
39
|
+
*/
|
|
40
|
+
tabIndex?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Sets a custom property. Contained in the BottomNavItem props that are returned from the `onSelect` BottomNavigation event.
|
|
43
|
+
*/
|
|
44
|
+
[customProp: string]: any;
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
index?: number;
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
52
|
+
item?: any;
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
dataItem?: any;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
id?: string;
|
|
61
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BottomNavigationItemProps } from './BottomNavigationItemProps';
|
|
9
|
+
import { BottomNavigationEvent, BottomNavigationSelectEvent } from './models/events';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the [Kendo UI for Vue BottomNavigation component]({% slug overview_bottomnavigation %}).
|
|
12
|
+
*/
|
|
13
|
+
export interface BottomNavigationProps {
|
|
14
|
+
/**
|
|
15
|
+
* Sets the `id` property of the root BottomNavigation element.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
|
|
20
|
+
*/
|
|
21
|
+
dir?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the theme color of the BottomNavigation
|
|
24
|
+
* ([see example]({% slug appearance_bottomnavigation %}#toc-theme-color)).
|
|
25
|
+
*
|
|
26
|
+
* The possible values are:
|
|
27
|
+
* * `primary` (Default) — Applies coloring based on the primary theme color.
|
|
28
|
+
* * `secondary` — Applies coloring based on the secondary theme color.
|
|
29
|
+
* * `tertiary` — Applies coloring based on the tertiary theme color.
|
|
30
|
+
* * `info` — Applies coloring based on the info theme color.
|
|
31
|
+
* * `success` — Applies coloring based on the success theme color.
|
|
32
|
+
* * `warning` — Applies coloring based on the warning theme color.
|
|
33
|
+
* * `error` — Applies coloring based on the error theme color.
|
|
34
|
+
* * `dark` — Applies coloring based on the dark theme color.
|
|
35
|
+
* * `light` — Applies coloring based on the light theme color.
|
|
36
|
+
* * `inverse` — Applies coloring based on the inverted theme color.
|
|
37
|
+
*/
|
|
38
|
+
themeColor?: BottomNavigationThemeColor | string;
|
|
39
|
+
/**
|
|
40
|
+
* The fill style of the BottomNavigation
|
|
41
|
+
* ([see example]({% slug appearance_bottomnavigation %}#toc-fill)).
|
|
42
|
+
*
|
|
43
|
+
* The possible values are:
|
|
44
|
+
* * `flat`(Default) — Sets the theme color as the text color. The background will be white.
|
|
45
|
+
* * `solid` — Sets the theme color as a background color.
|
|
46
|
+
*/
|
|
47
|
+
fillMode?: BottomNavigationFill | string;
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
fill?: BottomNavigationFill | string;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the position and behavior of the BottomNavigation when the page is scrolled
|
|
54
|
+
* ([see example]({% slug positioning_bottomnavigation %}#toc-position-mode)).
|
|
55
|
+
*
|
|
56
|
+
* The possible values are:
|
|
57
|
+
* * `fixed`(Default) — The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
58
|
+
* * `sticky` — Positions the BottomNavigation based on the user's scroll position. A sticky element toggles between static
|
|
59
|
+
* and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
|
|
60
|
+
* It is positioned static until a given offset position is met in the viewport - then it "sticks" in place like `fixed` positionMode.
|
|
61
|
+
*/
|
|
62
|
+
positionMode?: BottomNavigationPositionMode | string;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies how the icon and text label are positioned in each item of the BottomNavigation
|
|
65
|
+
* ([see example]({% slug content_types_bottomnavigation %}#toc-item-flow)).
|
|
66
|
+
*
|
|
67
|
+
* The possible values are:
|
|
68
|
+
* * `vertical`(Default) — Renders the text below the icon.
|
|
69
|
+
* * `horizontal` — Renders the text and the icon on the same line.
|
|
70
|
+
*/
|
|
71
|
+
itemFlow?: BottomNavigationItemFlow | string;
|
|
72
|
+
/**
|
|
73
|
+
* Sets a border to the BottomNavigation.
|
|
74
|
+
*/
|
|
75
|
+
border?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Disables the whole BottomNavigation.
|
|
78
|
+
*/
|
|
79
|
+
disabled?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* The index of the selected BottomNavigationItem.
|
|
82
|
+
*/
|
|
83
|
+
selected?: number;
|
|
84
|
+
/**
|
|
85
|
+
* The collection of items that will be rendered in the BottomNavigation ([see example]({% slug overview_bottomnavigation %})).
|
|
86
|
+
*/
|
|
87
|
+
items?: Array<BottomNavigationItemProps>;
|
|
88
|
+
/**
|
|
89
|
+
* Overrides the default component's content responsible for visualizing a single item
|
|
90
|
+
* ([see example]({% slug custom_rendering_bottomnavigation %}#toc-custom-rendering)).
|
|
91
|
+
*/
|
|
92
|
+
item?: any;
|
|
93
|
+
/**
|
|
94
|
+
* Fires when a BottomNavigation item is about to be rendered
|
|
95
|
+
* ([see example]({% slug custom_rendering_bottomnavigation %}#toc-item-render-property)).
|
|
96
|
+
* Used to override the default appearance of the items.
|
|
97
|
+
*/
|
|
98
|
+
itemRender?: any;
|
|
99
|
+
/**
|
|
100
|
+
* Fires when a BottomNavigation item is selected.
|
|
101
|
+
*/
|
|
102
|
+
onSelect?: (event: BottomNavigationSelectEvent) => void;
|
|
103
|
+
/**
|
|
104
|
+
* Triggered on `onKeyDown` event.
|
|
105
|
+
*/
|
|
106
|
+
onKeyDown?: (event: BottomNavigationEvent) => void;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The fill style of the BottomNavigation
|
|
110
|
+
* ([see example]({% slug appearance_bottomnavigation %}#toc-fill)).
|
|
111
|
+
*
|
|
112
|
+
* The possible values are:
|
|
113
|
+
* * `flat`(Default) — Sets the theme color as the text color. The background will be white.
|
|
114
|
+
* * `solid` — Sets the theme color as a background color.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
export type BottomNavigationFill = 'solid' | 'flat';
|
|
118
|
+
/**
|
|
119
|
+
* Specifies how the icon and text label are positioned in each item of the BottomNavigation
|
|
120
|
+
* ([see example]({% slug content_types_bottomnavigation %}#toc-item-flow)).
|
|
121
|
+
*
|
|
122
|
+
* The possible values are:
|
|
123
|
+
* * `vertical`(Default) — Renders the text below the icon.
|
|
124
|
+
* * `horizontal` — Renders the text and the icon on the same line.
|
|
125
|
+
*/
|
|
126
|
+
export type BottomNavigationItemFlow = 'vertical' | 'horizontal';
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the theme color of the BottomNavigationThemeColor.
|
|
129
|
+
* ([see example]({% slug appearance_bottomnavigation %}#toc-theme-color)).
|
|
130
|
+
*
|
|
131
|
+
* The possible values are:
|
|
132
|
+
* * `primary` (Default) — Applies coloring based on the primary theme color.
|
|
133
|
+
* * `secondary` — Applies coloring based on the secondary theme color.
|
|
134
|
+
* * `tertiary` — Applies coloring based on the tertiary theme color.
|
|
135
|
+
* * `info` — Applies coloring based on the info theme color.
|
|
136
|
+
* * `success` — Applies coloring based on the success theme color.
|
|
137
|
+
* * `warning` — Applies coloring based on the warning theme color.
|
|
138
|
+
* * `error` — Applies coloring based on the error theme color.
|
|
139
|
+
* * `dark` — Applies coloring based on the dark theme color.
|
|
140
|
+
* * `light` — Applies coloring based on the light theme color.
|
|
141
|
+
* * `inverse` — Applies coloring based on the inverted theme color.
|
|
142
|
+
*/
|
|
143
|
+
export type BottomNavigationThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
144
|
+
/**
|
|
145
|
+
* Specifies the position and behavior of the BottomNavigation when the page is scrolled
|
|
146
|
+
* ([see example]({% slug positioning_bottomnavigation %}#toc-position-mode)).
|
|
147
|
+
*
|
|
148
|
+
* The possible values are:
|
|
149
|
+
* * `fixed`(Default) — The BottomNavigation always stays at the bottom of the viewport, regardless of the page scroll position.
|
|
150
|
+
* * `sticky` — Positions the BottomNavigation based on the user's scroll position. A sticky element toggles between
|
|
151
|
+
* static and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position.
|
|
152
|
+
* It is positioned static until a given offset position is met in the viewport - then it "sticks" in place like `fixed` positionMode.
|
|
153
|
+
*/
|
|
154
|
+
export type BottomNavigationPositionMode = 'sticky' | 'fixed';
|
|
@@ -0,0 +1,25 @@
|
|
|
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 arguments for the `onSelect` BottomNavigation event.
|
|
10
|
+
*/
|
|
11
|
+
export interface BottomNavigationSelectEvent {
|
|
12
|
+
/**
|
|
13
|
+
* A BottomNavigation item event target.
|
|
14
|
+
*/
|
|
15
|
+
itemTarget: any;
|
|
16
|
+
/**
|
|
17
|
+
* The index of the selected BottomNavigation item.
|
|
18
|
+
*/
|
|
19
|
+
itemIndex: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the return type of the BottomNavigation events.
|
|
23
|
+
*/
|
|
24
|
+
export interface BottomNavigationEvent {
|
|
25
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const THEME_COLOR_CLASSES: {
|
|
12
|
+
primary: string;
|
|
13
|
+
secondary: string;
|
|
14
|
+
tertiary: string;
|
|
15
|
+
info: string;
|
|
16
|
+
success: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
error: string;
|
|
19
|
+
dark: string;
|
|
20
|
+
light: string;
|
|
21
|
+
inverse: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export declare const FILL_CLASSES: {
|
|
27
|
+
flat: string;
|
|
28
|
+
solid: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const ITEM_FLOW_CLASSES: {
|
|
34
|
+
vertical: string;
|
|
35
|
+
horizontal: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
export declare const POSITION_MODE_CLASSES: {
|
|
41
|
+
fixed: string;
|
|
42
|
+
sticky: string;
|
|
43
|
+
};
|