@progress/kendo-react-layout 7.2.4-develop.2 → 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.
Files changed (288) hide show
  1. package/actionsheet/ActionSheet.js +8 -0
  2. package/actionsheet/ActionSheet.mjs +184 -0
  3. package/actionsheet/ActionSheetContent.js +8 -0
  4. package/actionsheet/ActionSheetContent.mjs +32 -0
  5. package/actionsheet/ActionSheetFooter.js +8 -0
  6. package/actionsheet/ActionSheetFooter.mjs +32 -0
  7. package/actionsheet/ActionSheetHeader.js +8 -0
  8. package/actionsheet/ActionSheetHeader.mjs +32 -0
  9. package/actionsheet/ActionSheetItem.js +8 -0
  10. package/actionsheet/ActionSheetItem.mjs +52 -0
  11. package/appbar/AppBar.js +8 -0
  12. package/appbar/AppBar.mjs +86 -0
  13. package/appbar/AppBarSection.js +8 -0
  14. package/appbar/AppBarSection.mjs +47 -0
  15. package/appbar/AppBarSpacer.js +8 -0
  16. package/appbar/AppBarSpacer.mjs +55 -0
  17. package/bottomnavigation/BottomNavigation.js +8 -0
  18. package/bottomnavigation/BottomNavigation.mjs +160 -0
  19. package/bottomnavigation/BottomNavigationItem.js +8 -0
  20. package/bottomnavigation/BottomNavigationItem.mjs +93 -0
  21. package/bottomnavigation/models/utils.js +8 -0
  22. package/bottomnavigation/models/utils.mjs +19 -0
  23. package/breadcrumb/Breadcrumb.js +8 -0
  24. package/breadcrumb/Breadcrumb.mjs +158 -0
  25. package/breadcrumb/BreadcrumbDelimiter.js +8 -0
  26. package/breadcrumb/BreadcrumbDelimiter.mjs +48 -0
  27. package/breadcrumb/BreadcrumbLink.js +8 -0
  28. package/breadcrumb/BreadcrumbLink.mjs +82 -0
  29. package/breadcrumb/BreadcrumbListItem.js +8 -0
  30. package/breadcrumb/BreadcrumbListItem.mjs +52 -0
  31. package/breadcrumb/BreadcrumbOrderedList.js +8 -0
  32. package/breadcrumb/BreadcrumbOrderedList.mjs +67 -0
  33. package/card/Avatar.js +8 -0
  34. package/card/Avatar.mjs +53 -0
  35. package/card/Card.js +8 -0
  36. package/card/Card.mjs +52 -0
  37. package/card/CardActions.js +8 -0
  38. package/card/CardActions.mjs +40 -0
  39. package/card/CardBody.js +8 -0
  40. package/card/CardBody.mjs +28 -0
  41. package/card/CardFooter.js +8 -0
  42. package/card/CardFooter.mjs +28 -0
  43. package/card/CardHeader.js +8 -0
  44. package/card/CardHeader.mjs +28 -0
  45. package/card/CardImage.js +8 -0
  46. package/card/CardImage.mjs +36 -0
  47. package/card/CardSubtitle.js +8 -0
  48. package/card/CardSubtitle.mjs +28 -0
  49. package/card/CardTitle.js +8 -0
  50. package/card/CardTitle.mjs +28 -0
  51. package/card/interfaces/Enums.js +8 -0
  52. package/card/interfaces/Enums.mjs +15 -0
  53. package/contextmenu/ContextMenu.js +8 -0
  54. package/contextmenu/ContextMenu.mjs +48 -0
  55. package/dist/cdn/js/kendo-react-layout.js +8 -5
  56. package/drawer/Drawer.js +8 -0
  57. package/drawer/Drawer.mjs +130 -0
  58. package/drawer/DrawerContent.js +8 -0
  59. package/drawer/DrawerContent.mjs +33 -0
  60. package/drawer/DrawerItem.js +8 -0
  61. package/drawer/DrawerItem.mjs +89 -0
  62. package/drawer/DrawerNavigation.js +8 -0
  63. package/drawer/DrawerNavigation.mjs +132 -0
  64. package/drawer/context/DrawerContext.js +8 -0
  65. package/drawer/context/DrawerContext.mjs +22 -0
  66. package/expansionpanel/ExpansionPanel.js +8 -0
  67. package/expansionpanel/ExpansionPanel.mjs +116 -0
  68. package/expansionpanel/ExpansionPanelContent.js +8 -0
  69. package/expansionpanel/ExpansionPanelContent.mjs +23 -0
  70. package/gridlayout/GridLayout.js +8 -0
  71. package/gridlayout/GridLayout.mjs +83 -0
  72. package/gridlayout/GridLayoutItem.js +8 -0
  73. package/gridlayout/GridLayoutItem.mjs +46 -0
  74. package/index.d.mts +4593 -5
  75. package/index.d.ts +4593 -103
  76. package/index.js +8 -5
  77. package/index.mjs +139 -5037
  78. package/menu/components/Menu.js +8 -0
  79. package/menu/components/Menu.mjs +193 -0
  80. package/menu/components/MenuItem.js +8 -0
  81. package/menu/components/MenuItem.mjs +34 -0
  82. package/menu/components/MenuItemArrow.js +8 -0
  83. package/menu/components/MenuItemArrow.mjs +49 -0
  84. package/menu/components/MenuItemInternal.js +8 -0
  85. package/menu/components/MenuItemInternal.mjs +222 -0
  86. package/menu/components/MenuItemLink.js +8 -0
  87. package/menu/components/MenuItemLink.mjs +54 -0
  88. package/menu/consts.js +8 -0
  89. package/menu/consts.mjs +59 -0
  90. package/menu/utils/DirectionHolder.js +8 -0
  91. package/menu/utils/DirectionHolder.mjs +25 -0
  92. package/menu/utils/MouseOverHandler.js +8 -0
  93. package/menu/utils/MouseOverHandler.mjs +34 -0
  94. package/menu/utils/getNewItemIdUponKeyboardNavigation.js +8 -0
  95. package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +124 -0
  96. package/menu/utils/hoverDelay.js +8 -0
  97. package/menu/utils/hoverDelay.mjs +18 -0
  98. package/menu/utils/itemsIdsUtils.js +8 -0
  99. package/menu/utils/itemsIdsUtils.mjs +81 -0
  100. package/menu/utils/misc.js +8 -0
  101. package/menu/utils/misc.mjs +29 -0
  102. package/menu/utils/prepareInputItemsForInternalWork.js +8 -0
  103. package/menu/utils/prepareInputItemsForInternalWork.mjs +59 -0
  104. package/package-metadata.js +8 -0
  105. package/package-metadata.mjs +19 -0
  106. package/package.json +6 -6
  107. package/panelbar/PanelBar.js +8 -0
  108. package/panelbar/PanelBar.mjs +195 -0
  109. package/panelbar/PanelBarItem.js +8 -0
  110. package/panelbar/PanelBarItem.mjs +148 -0
  111. package/panelbar/interfaces/NavigationAction.js +8 -0
  112. package/panelbar/interfaces/NavigationAction.mjs +12 -0
  113. package/panelbar/util.js +8 -0
  114. package/panelbar/util.mjs +122 -0
  115. package/splitter/Splitter.js +8 -0
  116. package/splitter/Splitter.mjs +238 -0
  117. package/splitter/SplitterBar.js +8 -0
  118. package/splitter/SplitterBar.mjs +129 -0
  119. package/splitter/SplitterPane.js +8 -0
  120. package/splitter/SplitterPane.mjs +50 -0
  121. package/splitter/messages/index.js +8 -0
  122. package/splitter/messages/index.mjs +15 -0
  123. package/stacklayout/StackLayout.js +8 -0
  124. package/stacklayout/StackLayout.mjs +84 -0
  125. package/stepper/Step.js +8 -0
  126. package/stepper/Step.mjs +177 -0
  127. package/stepper/Stepper.js +8 -0
  128. package/stepper/Stepper.mjs +252 -0
  129. package/stepper/contants.js +8 -0
  130. package/stepper/contants.mjs +13 -0
  131. package/stepper/context/StepperContext.js +8 -0
  132. package/stepper/context/StepperContext.mjs +17 -0
  133. package/stepper/messages/index.js +8 -0
  134. package/stepper/messages/index.mjs +17 -0
  135. package/tabstrip/TabStrip.js +8 -0
  136. package/tabstrip/TabStrip.mjs +163 -0
  137. package/tabstrip/TabStripContent.js +8 -0
  138. package/tabstrip/TabStripContent.mjs +81 -0
  139. package/tabstrip/TabStripNavigation.js +8 -0
  140. package/tabstrip/TabStripNavigation.mjs +171 -0
  141. package/tabstrip/TabStripNavigationItem.js +8 -0
  142. package/tabstrip/TabStripNavigationItem.mjs +55 -0
  143. package/tabstrip/TabStripTab.js +8 -0
  144. package/tabstrip/TabStripTab.mjs +35 -0
  145. package/tilelayout/InternalTile.js +8 -0
  146. package/tilelayout/InternalTile.mjs +203 -0
  147. package/tilelayout/ResizeHandlers.js +8 -0
  148. package/tilelayout/ResizeHandlers.mjs +53 -0
  149. package/tilelayout/TileLayout.js +8 -0
  150. package/tilelayout/TileLayout.mjs +122 -0
  151. package/timeline/Timeline.js +8 -0
  152. package/timeline/Timeline.mjs +79 -0
  153. package/timeline/TimelineCard.js +8 -0
  154. package/timeline/TimelineCard.mjs +109 -0
  155. package/timeline/TimelineHorizontal.js +8 -0
  156. package/timeline/TimelineHorizontal.mjs +239 -0
  157. package/timeline/TimelineVertical.js +8 -0
  158. package/timeline/TimelineVertical.mjs +78 -0
  159. package/timeline/utils.js +8 -0
  160. package/timeline/utils.mjs +16 -0
  161. package/actionsheet/ActionSheet.d.ts +0 -138
  162. package/actionsheet/ActionSheetContent.d.ts +0 -14
  163. package/actionsheet/ActionSheetFooter.d.ts +0 -14
  164. package/actionsheet/ActionSheetHeader.d.ts +0 -14
  165. package/actionsheet/ActionSheetItem.d.ts +0 -10
  166. package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -17
  167. package/actionsheet/interfaces/ActionSheetItemProps.d.ts +0 -70
  168. package/appbar/AppBar.d.ts +0 -54
  169. package/appbar/AppBarSection.d.ts +0 -53
  170. package/appbar/AppBarSpacer.d.ts +0 -54
  171. package/appbar/interfaces/AppBarProps.d.ts +0 -83
  172. package/appbar/interfaces/AppBarSectionProps.d.ts +0 -22
  173. package/appbar/interfaces/AppBarSpacerProps.d.ts +0 -23
  174. package/bottomnavigation/BottomNavigation.d.ts +0 -42
  175. package/bottomnavigation/BottomNavigationItem.d.ts +0 -16
  176. package/bottomnavigation/BottomNavigationItemProps.d.ts +0 -64
  177. package/bottomnavigation/BottomNavigationProps.d.ts +0 -157
  178. package/bottomnavigation/models/events.d.ts +0 -24
  179. package/bottomnavigation/models/utils.d.ts +0 -40
  180. package/breadcrumb/Breadcrumb.d.ts +0 -163
  181. package/breadcrumb/BreadcrumbDelimiter.d.ts +0 -47
  182. package/breadcrumb/BreadcrumbLink.d.ts +0 -135
  183. package/breadcrumb/BreadcrumbListItem.d.ts +0 -55
  184. package/breadcrumb/BreadcrumbOrderedList.d.ts +0 -59
  185. package/card/Avatar.d.ts +0 -7
  186. package/card/Card.d.ts +0 -8
  187. package/card/CardActions.d.ts +0 -7
  188. package/card/CardBody.d.ts +0 -7
  189. package/card/CardFooter.d.ts +0 -7
  190. package/card/CardHeader.d.ts +0 -7
  191. package/card/CardImage.d.ts +0 -7
  192. package/card/CardSubtitle.d.ts +0 -7
  193. package/card/CardTitle.d.ts +0 -7
  194. package/card/interfaces/AvatarProps.d.ts +0 -88
  195. package/card/interfaces/CardActionsProps.d.ts +0 -38
  196. package/card/interfaces/CardBodyProps.d.ts +0 -18
  197. package/card/interfaces/CardFooterProps.d.ts +0 -18
  198. package/card/interfaces/CardHandle.d.ts +0 -18
  199. package/card/interfaces/CardHeaderProps.d.ts +0 -18
  200. package/card/interfaces/CardImageProps.d.ts +0 -22
  201. package/card/interfaces/CardProps.d.ts +0 -48
  202. package/card/interfaces/CardSubtitleProps.d.ts +0 -18
  203. package/card/interfaces/CardTitleProps.d.ts +0 -18
  204. package/card/interfaces/Enums.d.ts +0 -27
  205. package/contextmenu/ContextMenu.d.ts +0 -31
  206. package/drawer/Drawer.d.ts +0 -44
  207. package/drawer/DrawerContent.d.ts +0 -43
  208. package/drawer/DrawerItem.d.ts +0 -36
  209. package/drawer/DrawerNavigation.d.ts +0 -47
  210. package/drawer/context/DrawerContext.d.ts +0 -24
  211. package/drawer/interfaces/DrawerAnimation.d.ts +0 -18
  212. package/drawer/interfaces/DrawerContentProps.d.ts +0 -21
  213. package/drawer/interfaces/DrawerItemHandle.d.ts +0 -21
  214. package/drawer/interfaces/DrawerItemProps.d.ts +0 -64
  215. package/drawer/interfaces/DrawerNavigationProps.d.ts +0 -21
  216. package/drawer/interfaces/DrawerProps.d.ts +0 -86
  217. package/drawer/interfaces/DrawerSelectEvent.d.ts +0 -19
  218. package/expansionpanel/ExpansionPanel.d.ts +0 -10
  219. package/expansionpanel/ExpansionPanelContent.d.ts +0 -9
  220. package/expansionpanel/index.d.ts +0 -7
  221. package/expansionpanel/interfaces.d.ts +0 -92
  222. package/gridlayout/GridLayout.d.ts +0 -43
  223. package/gridlayout/GridLayoutItem.d.ts +0 -42
  224. package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -13
  225. package/gridlayout/interfaces/GridLayoutItemProps.d.ts +0 -44
  226. package/gridlayout/interfaces/GridLayoutProps.d.ts +0 -99
  227. package/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -13
  228. package/menu/BaseMenuItemInternalProps.d.ts +0 -24
  229. package/menu/MenuProps.d.ts +0 -75
  230. package/menu/components/Menu.d.ts +0 -118
  231. package/menu/components/MenuItem.d.ts +0 -33
  232. package/menu/components/MenuItemArrow.d.ts +0 -50
  233. package/menu/components/MenuItemInternal.d.ts +0 -63
  234. package/menu/components/MenuItemLink.d.ts +0 -34
  235. package/menu/consts.d.ts +0 -58
  236. package/menu/events.d.ts +0 -20
  237. package/menu/models/BaseMenuItem.d.ts +0 -58
  238. package/menu/models/MenuItemModel.d.ts +0 -23
  239. package/menu/utils/DirectionHolder.d.ts +0 -15
  240. package/menu/utils/MouseOverHandler.d.ts +0 -21
  241. package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +0 -11
  242. package/menu/utils/hoverDelay.d.ts +0 -13
  243. package/menu/utils/itemsIdsUtils.d.ts +0 -68
  244. package/menu/utils/misc.d.ts +0 -20
  245. package/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -10
  246. package/package-metadata.d.ts +0 -9
  247. package/panelbar/PanelBar.d.ts +0 -81
  248. package/panelbar/PanelBarItem.d.ts +0 -52
  249. package/panelbar/interfaces/NavigationAction.d.ts +0 -12
  250. package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -12
  251. package/panelbar/interfaces/PanelBarItemProps.d.ts +0 -98
  252. package/panelbar/interfaces/PanelBarProps.d.ts +0 -66
  253. package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +0 -18
  254. package/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -19
  255. package/panelbar/util.d.ts +0 -56
  256. package/splitter/Splitter.d.ts +0 -136
  257. package/splitter/SplitterBar.d.ts +0 -44
  258. package/splitter/SplitterPane.d.ts +0 -57
  259. package/splitter/messages/index.d.ts +0 -14
  260. package/stacklayout/StackLayout.d.ts +0 -41
  261. package/stacklayout/StackLayoutProps.d.ts +0 -92
  262. package/stepper/Step.d.ts +0 -27
  263. package/stepper/Stepper.d.ts +0 -27
  264. package/stepper/contants.d.ts +0 -12
  265. package/stepper/context/StepperContext.d.ts +0 -27
  266. package/stepper/interfaces/StepChangeEvent.d.ts +0 -15
  267. package/stepper/interfaces/StepFocusEvent.d.ts +0 -11
  268. package/stepper/interfaces/StepHandle.d.ts +0 -17
  269. package/stepper/interfaces/StepProps.d.ts +0 -83
  270. package/stepper/interfaces/StepperChangeEvent.d.ts +0 -15
  271. package/stepper/interfaces/StepperFocusEvent.d.ts +0 -11
  272. package/stepper/interfaces/StepperHandle.d.ts +0 -17
  273. package/stepper/interfaces/StepperProps.d.ts +0 -98
  274. package/stepper/messages/index.d.ts +0 -19
  275. package/tabstrip/TabStrip.d.ts +0 -158
  276. package/tabstrip/TabStripContent.d.ts +0 -62
  277. package/tabstrip/TabStripNavigation.d.ts +0 -110
  278. package/tabstrip/TabStripNavigationItem.d.ts +0 -75
  279. package/tabstrip/TabStripTab.d.ts +0 -42
  280. package/tilelayout/InternalTile.d.ts +0 -94
  281. package/tilelayout/ResizeHandlers.d.ts +0 -24
  282. package/tilelayout/TileLayout.d.ts +0 -153
  283. package/tilelayout/interfaces/index.d.ts +0 -145
  284. package/timeline/Timeline.d.ts +0 -102
  285. package/timeline/TimelineCard.d.ts +0 -38
  286. package/timeline/TimelineHorizontal.d.ts +0 -7
  287. package/timeline/TimelineVertical.d.ts +0 -16
  288. package/timeline/utils.d.ts +0 -19
@@ -1,81 +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 PropTypes from 'prop-types';
7
- import { PanelBarProps } from '..';
8
- import { PanelBarItemClickEventArguments } from './interfaces/PanelBarItemClickEventArguments';
9
- import { NavigationAction } from './interfaces/NavigationAction';
10
- /**
11
- * @hidden
12
- */
13
- export interface PanelBarState {
14
- focused?: string;
15
- wrapperFocused?: boolean;
16
- selected?: string;
17
- expanded: string[];
18
- }
19
- export declare class PanelBar extends React.Component<PanelBarProps, PanelBarState> {
20
- /**
21
- * @hidden
22
- */
23
- static propTypes: {
24
- animation: PropTypes.Requireable<boolean>;
25
- children: (props: PanelBarProps, propName: any) => Error | null;
26
- dir: PropTypes.Requireable<string>;
27
- selected: PropTypes.Requireable<string>;
28
- expanded: PropTypes.Requireable<(string | null | undefined)[]>;
29
- focused: PropTypes.Requireable<string>;
30
- expandMode: PropTypes.Requireable<string>;
31
- className: PropTypes.Requireable<string>;
32
- keepItemsMounted: PropTypes.Requireable<boolean>;
33
- onSelect: PropTypes.Requireable<(...args: any[]) => any>;
34
- style: PropTypes.Requireable<object>;
35
- };
36
- /**
37
- * @hidden
38
- */
39
- static defaultProps: {
40
- expandMode: string;
41
- animation: boolean;
42
- keepItemsMounted: boolean;
43
- };
44
- /**
45
- * @hidden
46
- */
47
- readonly state: PanelBarState;
48
- private activeDescendant?;
49
- private _element;
50
- private showLicenseWatermark;
51
- private nextTickId;
52
- private get expandMode();
53
- private get selectedItem();
54
- private get expandedItems();
55
- private get children();
56
- constructor(props: PanelBarProps);
57
- /**
58
- * @hidden
59
- */
60
- handleSelect: (event: PanelBarItemClickEventArguments) => void;
61
- /**
62
- * @hidden
63
- */
64
- onSelect: (event: any) => void;
65
- /**
66
- * @hidden
67
- */
68
- onFocus: (event: any, step?: number) => void;
69
- /**
70
- * @hidden
71
- */
72
- onNavigate: (event: any, action: NavigationAction) => void;
73
- /**
74
- * @hidden
75
- */
76
- render(): import("react/jsx-runtime").JSX.Element;
77
- protected nextTick(f: () => any): void;
78
- private handleWrapperFocus;
79
- private handleWrapperBlur;
80
- private handleKeyDown;
81
- }
@@ -1,52 +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 PropTypes from 'prop-types';
7
- import { PanelBarItemProps } from '..';
8
- /** @hidden */
9
- interface PanelBarItemState {
10
- show: boolean;
11
- }
12
- export declare class PanelBarItem extends React.PureComponent<PanelBarItemProps, PanelBarItemState> {
13
- /**
14
- * @hidden
15
- */
16
- static propTypes: {
17
- animation: PropTypes.Requireable<boolean>;
18
- children: PropTypes.Requireable<any>;
19
- className: PropTypes.Requireable<string>;
20
- icon: PropTypes.Requireable<string>;
21
- iconClass: PropTypes.Requireable<string>;
22
- imageUrl: PropTypes.Requireable<string>;
23
- svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
24
- name: PropTypes.Validator<string>;
25
- content: PropTypes.Validator<string>;
26
- viewBox: PropTypes.Validator<string>;
27
- }>>;
28
- expanded: PropTypes.Requireable<boolean>;
29
- disabled: PropTypes.Requireable<boolean>;
30
- onSelect: PropTypes.Requireable<(...args: any[]) => any>;
31
- selected: PropTypes.Requireable<boolean>;
32
- level: PropTypes.Requireable<number>;
33
- title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
34
- id: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
35
- focused: PropTypes.Requireable<boolean>;
36
- keepItemsMounted: PropTypes.Requireable<boolean>;
37
- };
38
- /**
39
- * @hidden
40
- */
41
- static defaultProps: {
42
- title: string;
43
- };
44
- constructor(props: PanelBarItemProps);
45
- /**
46
- * @hidden
47
- */
48
- render(): import("react/jsx-runtime").JSX.Element;
49
- private handleItemClick;
50
- private childFactory;
51
- }
52
- export {};
@@ -1,12 +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 enum NavigationAction {
9
- Toggle = 0,
10
- Next = 1,
11
- Previous = 2
12
- }
@@ -1,12 +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 { PanelBarItem } from '../PanelBarItem';
6
- /**
7
- * @hidden
8
- */
9
- export interface PanelBarItemClickEventArguments {
10
- uniquePrivateKey: number;
11
- target: PanelBarItem;
12
- }
@@ -1,98 +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
- * Represents the props of the PanelBarItem component.
8
- */
9
- export interface PanelBarItemProps {
10
- /**
11
- * Allows individual animation control over the child ([see example]({% slug animations_panelbar %})). By default, it is controlled by the PanelBar component.
12
- */
13
- animation?: boolean;
14
- /**
15
- * Can be any of PanelBar items, an array of PanelBar items, or a custom component.
16
- */
17
- children?: React.ReactNode;
18
- /**
19
- * The class name that is set to the PanelBarItem component.
20
- */
21
- className?: string;
22
- /**
23
- * The class name that is set to the PanelBarItem header.
24
- */
25
- headerClassName?: string;
26
- /**
27
- * Sets the initial expanded state of the PanelBarItem ([see example]({% slug statesitems_panelbar %}#toc-expanded-items)). Controlled by the PanelBar component.
28
- */
29
- expanded?: boolean;
30
- /**
31
- * Sets the disabled state of the PanelBarItem ([see example]({% slug statesitems_panelbar %}#toc-disabled-items)).
32
- */
33
- disabled?: boolean;
34
- /**
35
- * @hidden
36
- */
37
- onSelect?: Function;
38
- /**
39
- * @hidden
40
- */
41
- level?: number;
42
- /**
43
- * Defines an icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
44
- */
45
- icon?: string;
46
- /**
47
- * Defines an SVG icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
48
- */
49
- svgIcon?: SVGIcon;
50
- /**
51
- * Defines an icon with a custom CSS class that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
52
- */
53
- iconClass?: string;
54
- /**
55
- * Defines the location of the image that will be displayed next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-images)).
56
- */
57
- imageUrl?: string;
58
- /**
59
- * Sets the initial selected state of the PanelBarItem. Controlled by the PanelBarItem component ([see example]({% slug statesitems_panelbar %}#toc-selected-items)).
60
- */
61
- selected?: boolean;
62
- /**
63
- * Sets the title of the PanelBar item ([see example]({% slug titlesitems_panelbar %}#toc-getting-started)).
64
- */
65
- title?: React.ReactNode;
66
- /**
67
- * Allows the component to set the `id` property to each item. If not set, a default `id` is applied.
68
- */
69
- id?: string;
70
- /**
71
- * Sets the initial focused state of the PanelBarItem. Controlled by the PanelBar component.
72
- */
73
- focused?: boolean;
74
- /**
75
- * @hidden
76
- */
77
- parentExpanded?: boolean;
78
- /**
79
- * @hidden
80
- */
81
- content?: any;
82
- /**
83
- * Used to identify the PanelBarItems inside the PanelBar ([see example]({% slug controlling_state_panelbar %})). Does not depend on the state of the PanelBarItem.
84
- */
85
- uniquePrivateKey?: string;
86
- /**
87
- * @hidden
88
- */
89
- parentUniquePrivateKey?: string[];
90
- /**
91
- * @hidden
92
- */
93
- keepItemsMounted?: boolean;
94
- /**
95
- * Sets a custom property. Contained in the PanelBarItem props that are returned from the `onSelect` PanelBar event.
96
- */
97
- [customProp: string]: any;
98
- }
@@ -1,66 +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 { PanelBarSelectEventArguments } from '../..';
6
- /**
7
- * Represents the expand modes of the KendoReact PanelBar. Defaults to `multiple`.
8
- */
9
- export type PanelBarExpandMode = 'single' | 'multiple';
10
- /**
11
- * Represents the props of the [KendoReact PanelBar component]({% slug overview_panelbar %}).
12
- */
13
- export interface PanelBarProps {
14
- /**
15
- * The child can be either a single PanelBarItem or a PanelBarItem array.
16
- */
17
- children?: React.ReactNode;
18
- /**
19
- * The class name that is set to the PanelBar.
20
- */
21
- className?: string;
22
- /**
23
- * Sets the animation state of the PanelBar.
24
- */
25
- animation?: boolean;
26
- /**
27
- * Sets the expand mode of the PanelBar ([see example]({% slug expandmodes_panelbar %})).
28
- *
29
- * The available modes are:
30
- * - `"single"`&mdash;Allows you to expand only one item at a time. The expanding of an item collapses the item that was previously expanded.
31
- * - `"multiple"` (default)&mdash;Allows you to expand two or more items at a time. Items can also be toggled.
32
- */
33
- expandMode?: PanelBarExpandMode;
34
- /**
35
- * Sets the direction of the PanelBar component.
36
- */
37
- dir?: string;
38
- /**
39
- * If set, overrides the currently selected property in the PanelBar state.
40
- */
41
- selected?: string;
42
- /**
43
- * Sets the initial expanded state of the PanelBar.
44
- */
45
- expanded?: string[];
46
- /**
47
- * Sets the initial focused state of the PanelBar.
48
- */
49
- focused?: string;
50
- /**
51
- * Determines if the PanelBar items will be mounted after expand collapse. Defaults to `false`.
52
- */
53
- keepItemsMounted?: boolean;
54
- /**
55
- * Determines if the PanelBar is going to be used in controlled state.
56
- */
57
- isControlled?: boolean;
58
- /**
59
- * Fires each time the user makes a selection ([see example]({% slug controlling_state_panelbar %})).
60
- */
61
- onSelect?: (event: PanelBarSelectEventArguments) => void;
62
- /**
63
- * Sets additional CSS styles to the PanelBar.
64
- */
65
- style?: React.CSSProperties;
66
- }
@@ -1,18 +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 { PanelBarItemProps } from '../interfaces/PanelBarItemProps';
6
- /**
7
- * The arguments that are passed to the `onSelect` callback function.
8
- */
9
- export interface PanelBarSelectEventArguments {
10
- /**
11
- * The selected PanelBar item.
12
- */
13
- target: React.ReactElement<PanelBarItemProps>;
14
- /**
15
- * The new expanded PanelBar items state.
16
- */
17
- expandedItems: string[];
18
- }
@@ -1,19 +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 { PanelBarState } from '../PanelBar';
6
- /**
7
- * @hidden
8
- */
9
- export interface RenderPanelBarItem {
10
- animation?: boolean;
11
- keepItemsMounted?: boolean;
12
- state: PanelBarState;
13
- expanded: string[];
14
- handleSelect: any;
15
- children: React.ReactNode;
16
- parentExpanded?: boolean;
17
- level?: number;
18
- parentPrivateKey?: string[];
19
- }
@@ -1,56 +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 { PanelBarState } from './PanelBar';
7
- import { PanelBarItem } from './PanelBarItem';
8
- import { RenderPanelBarItem } from './interfaces/RenderPanelBarItem';
9
- import { PanelBarItemProps } from '..';
10
- import { PanelBarExpandMode } from './interfaces/PanelBarProps';
11
- /**
12
- * @hidden
13
- */
14
- export declare const renderChildren: ({ animation, keepItemsMounted, state, expanded, handleSelect, children, parentExpanded, level, parentPrivateKey }: RenderPanelBarItem) => React.ReactNode;
15
- /**
16
- * @hidden
17
- */
18
- export declare const getFirstId: (props: any) => any;
19
- /**
20
- * @hidden
21
- */
22
- export declare const getInitialState: (props: any, expandMode: PanelBarExpandMode, result?: PanelBarState, parentExpanded?: boolean, parentPrivateKey?: string[]) => PanelBarState;
23
- /**
24
- * @hidden
25
- */
26
- export declare function flatVisibleItems(data: any, flattedItems?: any[]): any[];
27
- /**
28
- * @hidden
29
- */
30
- export declare function flatChildren(children: any, flattenChildren?: any[]): any[];
31
- /**
32
- * @hidden
33
- */
34
- export declare function flatVisibleChildren(children: any, flattenVisibleChildren?: any[]): any[];
35
- /**
36
- * @hidden
37
- */
38
- export declare const isPresent: Function;
39
- /**
40
- * Represents the PanelBarUtils functions.
41
- */
42
- export declare namespace PanelBarUtils {
43
- /**
44
- * Maps a collection of PanelBarItemProps to PanelBarItem components
45
- * ([see example]({% slug customization_panelbar %})).
46
- * Contained in the `PanelBarUtils` object.
47
- *
48
- * @param items - A collection of PanelBarItemProps.
49
- * @return {PanelBarItem[]} Returns an array of PanelBarItem components.
50
- */
51
- function mapItemsToComponents(items: Array<PanelBarItemProps>): PanelBarItem[];
52
- }
53
- /**
54
- * @hidden
55
- */
56
- export declare const isArrayEqual: (firstArray: any[], secondArray: any[]) => boolean;
@@ -1,136 +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 { SplitterPaneProps } from './SplitterPane';
7
- /**
8
- * Represents the onChange event of the Splitter.
9
- */
10
- export interface SplitterOnChangeEvent {
11
- /**
12
- * The new panes state.
13
- */
14
- newState: SplitterPaneProps[];
15
- /**
16
- * Indicates if is the last event during drag. Can be used to optimize performance.
17
- */
18
- isLast: boolean;
19
- /**
20
- * The native DOM event.
21
- */
22
- nativeEvent: React.MouseEvent<HTMLDivElement, MouseEvent> | React.KeyboardEvent<HTMLDivElement> | any;
23
- }
24
- /**
25
- * Represents the options of the Splitter.
26
- */
27
- export interface SplitterProps {
28
- /**
29
- * Sets the options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for controlled state.
30
- */
31
- panes?: SplitterPaneProps[];
32
- /**
33
- * Sets the initial options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for uncontrolled state.
34
- */
35
- defaultPanes?: SplitterPaneProps[];
36
- /**
37
- * Specifies the orientation of the panes within the Splitter ([more information and examples]({% slug orientation_splitter %})). Panes in a horizontal Splitter are placed horizontally. Panes in a vertical Splitter are placed vertically.
38
- */
39
- orientation?: 'vertical' | 'horizontal';
40
- /**
41
- * Sets the styles of the Splitter.
42
- */
43
- style?: React.CSSProperties;
44
- /**
45
- * Fires after a Splitter pane is resized or collapsed. Useful for updating the pane options and triggering layout calculations on components which are positioned inside the panes.
46
- */
47
- onChange?: (event: SplitterOnChangeEvent) => void;
48
- /**
49
- * The pane elements of the Splitter.
50
- */
51
- children?: React.ReactNode;
52
- /**
53
- * The class name that is set to the Splitter.
54
- */
55
- className?: string;
56
- }
57
- /**
58
- * @hidden
59
- */
60
- export interface SplitterState {
61
- isDragging: boolean;
62
- dragIndex?: number;
63
- startTime: number;
64
- originalX: number;
65
- originalY: number;
66
- originalPrevSize: number;
67
- originalNextSize: number;
68
- panes: SplitterPaneProps[];
69
- }
70
- /**
71
- * Represents the [KendoReact Splitter component]({% slug overview_splitter %}).
72
- *
73
- * @example
74
- * ```jsx
75
- * class App extends React.Component {
76
- * render() {
77
- * return (
78
- * <div>
79
- * <Splitter
80
- * style={{height: 400}}
81
- * orientation={'vertical'}
82
- * >
83
- * <div>Pane 1</div>
84
- * <div>Pane 2</div>
85
- * <div>Pane 3</div>
86
- * </Splitter>
87
- * </div>
88
- * );
89
- * }
90
- * }
91
- *
92
- * ReactDOM.render(<App />, document.querySelector('my-app'));
93
- * ```
94
- */
95
- export declare class Splitter extends React.Component<SplitterProps, SplitterState> {
96
- /**
97
- * @hidden
98
- */
99
- static displayName: string;
100
- /**
101
- * @hidden
102
- */
103
- readonly state: SplitterState;
104
- private panesDuringOnChange?;
105
- private get isControlledState();
106
- private get panes();
107
- private _container;
108
- private get orientation();
109
- private get isRtl();
110
- private get panesContent();
111
- /**
112
- * @hidden
113
- */
114
- constructor(props: SplitterProps);
115
- /**
116
- * @hidden
117
- */
118
- render(): import("react/jsx-runtime").JSX.Element;
119
- private validatePanes;
120
- private mapPaneOptions;
121
- private mapSplitterPanes;
122
- private onBarToggle;
123
- private onBarDragResize;
124
- private onBarKeyboardResize;
125
- private surroudingPanes;
126
- private containerSize;
127
- private isPercent;
128
- private toPixels;
129
- private panesOptions;
130
- private resetDragState;
131
- private elementSize;
132
- private clamp;
133
- private fixedSize;
134
- private resize;
135
- private getPaneProps;
136
- }
@@ -1,44 +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 { SplitterPaneExtendedProps } from './SplitterPane';
7
- /**
8
- * @hidden
9
- */
10
- export interface SplitterBarProps {
11
- orientation: 'vertical' | 'horizontal';
12
- index: number;
13
- prev: SplitterPaneExtendedProps;
14
- next: SplitterPaneExtendedProps;
15
- ariaLabel?: string;
16
- isRtl?: boolean;
17
- onDrag: (event: any, element: HTMLDivElement, index: number, isFirst: boolean, isLast: boolean) => void;
18
- onToggle: (index: number, nativeEvent: React.MouseEvent<HTMLDivElement, MouseEvent> | React.KeyboardEvent<HTMLDivElement>) => void;
19
- onKeyboardResize: (element: HTMLDivElement, index: number, delta: number, nativeEvent: React.KeyboardEvent<HTMLDivElement>) => void;
20
- }
21
- /**
22
- * @hidden
23
- */
24
- export interface SplitterBarState {
25
- focused: boolean;
26
- }
27
- /**
28
- * @hidden
29
- */
30
- export declare class SplitterBar extends React.Component<SplitterBarProps, SplitterBarState> {
31
- private draggable;
32
- private get isStatic();
33
- private get isDraggable();
34
- private get isHorizontal();
35
- constructor(props: SplitterBarProps);
36
- render(): import("react/jsx-runtime").JSX.Element;
37
- private onDrag;
38
- private onFocus;
39
- private onBlur;
40
- private onToggle;
41
- private onPrevToggle;
42
- private onNextToggle;
43
- private onKeyDown;
44
- }
@@ -1,57 +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 { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
7
- /**
8
- * Represents the pane options of the Splitter.
9
- */
10
- export interface SplitterPaneProps extends KendoReactComponentBaseProps {
11
- /**
12
- * Sets the size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)). Has to be between the `min` and `max` properties.
13
- */
14
- size?: string;
15
- /**
16
- * Sets the minimum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
17
- */
18
- min?: string;
19
- /**
20
- * Sets the maximum possible size of the pane ([see example]({% slug panes_splitter %}#toc-dimensions)).
21
- */
22
- max?: string;
23
- /**
24
- * Specifies if the user is allowed to resize the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-resizing)). If `resizable` is not specified, the resizing of the pane will be enabled.
25
- */
26
- resizable?: boolean;
27
- /**
28
- * Specifies if the user is allowed to hide the pane and provide space for other panes ([see example]({% slug panes_splitter %}#toc-collapsing)).
29
- */
30
- collapsible?: boolean;
31
- /**
32
- * Specifies the pane collapsed state ([see example]({% slug panes_splitter %}#toc-collapsing)).
33
- */
34
- collapsed?: boolean;
35
- /**
36
- * Specifies if overflowing content is scrollable or hidden ([see example]({% slug panes_splitter %}#toc-scrolling)). If `scrollable` is not specified, the content will be scrollable.
37
- */
38
- scrollable?: boolean;
39
- /**
40
- * Specifies if the children of the pane should be mounted when it's in collapsed state.
41
- */
42
- keepMounted?: boolean;
43
- }
44
- /**
45
- * @hidden
46
- */
47
- export interface SplitterPaneExtendedProps extends SplitterPaneProps {
48
- orientation: 'vertical' | 'horizontal';
49
- overlay: boolean;
50
- containsSplitter: boolean;
51
- }
52
- /**
53
- * @hidden
54
- */
55
- export declare class SplitterPane extends React.Component<SplitterPaneExtendedProps, {}> {
56
- render(): import("react/jsx-runtime").JSX.Element;
57
- }
@@ -1,14 +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 splitBarLabel = "splitBarLabel";
9
- /**
10
- * @hidden
11
- */
12
- export declare const messages: {
13
- splitBarLabel: string;
14
- };