@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,86 +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 { DrawerSelectEvent } from './DrawerSelectEvent';
7
- import { DrawerAnimation } from '../interfaces/DrawerAnimation';
8
- import { DrawerItemProps } from './DrawerItemProps';
9
- /**
10
- * The properties of the [KendoReact Drawer component]({% slug overview_drawer %}).
11
- */
12
- export interface DrawerProps {
13
- /**
14
- * Specifies the animation settings of the Drawer.
15
- * If boolean enables or disables the default animation.
16
- * Use DrawerAnimation to set slide animation with customizable duration option. Accepts a number in milliseconds.
17
- */
18
- animation?: boolean | DrawerAnimation;
19
- /**
20
- * Specifies the state of the Drawer. Defaults to `false` ([see example]({% slug expanded_state_drawer %})).
21
- */
22
- expanded?: boolean;
23
- /**
24
- * Sets the Drawer items declaratively.
25
- */
26
- children?: any;
27
- /**
28
- * Specifies a list of CSS classes that will be added to the Drawer element.
29
- */
30
- className?: string;
31
- /**
32
- * Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
33
- */
34
- dir?: string;
35
- /**
36
- * Specifies the mode in which the Drawer will be displayed.
37
- * The possible values are `overlay` and `push`.
38
- * Defaults to `overlay` ([see example]({% slug display_modes_drawer %}#toc-expand-modes)).
39
- */
40
- mode?: 'overlay' | 'push';
41
- /**
42
- * Specifies the position of the Drawer.
43
- * The possible values are `start` and `end` ([see example]({% slug positioning_drawer %})).
44
- */
45
- position?: 'start' | 'end';
46
- /**
47
- * Sets additional CSS styles to the Drawer.
48
- */
49
- style?: React.CSSProperties;
50
- /**
51
- * Sets the `tabIndex` property of the Drawer.
52
- */
53
- tabIndex?: number;
54
- /**
55
- * Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed
56
- * ([see example]({% slug display_modes_drawer %}#toc-mini-view))).
57
- */
58
- mini?: boolean;
59
- /**
60
- * Defines the width of the Drawer when the mini view is enabled and the component is collapsed. Defaults to `50`.
61
- */
62
- miniWidth?: number;
63
- /**
64
- * Defines the width of the Drawer when it is expanded. Defaults to `240`.
65
- */
66
- width?: number;
67
- /**
68
- * The collection of items that will be rendered in the Drawer ([see example]({% slug overview_drawer %})).
69
- */
70
- items?: Array<DrawerItemProps>;
71
- /**
72
- * Overrides the default component responsible for visualizing a single item ([see example]({% slug custom_rendering %})).
73
- *
74
- * The default Component is: [DrawerItem]({% slug api_layout_draweritem %}).
75
- */
76
- item?: React.ComponentType<DrawerItemProps>;
77
- /**
78
- * The event handler that will be fired when the overlay is clicked.
79
- * Used in overlay mode only.
80
- */
81
- onOverlayClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
82
- /**
83
- * Fires when a Drawer item is selected.
84
- */
85
- onSelect?: (event: DrawerSelectEvent) => void;
86
- }
@@ -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 { DrawerHandle } from '../Drawer';
6
- import { BaseEvent } from '@progress/kendo-react-common';
7
- /**
8
- * The arguments for the `onSelect` Drawer event.
9
- */
10
- export interface DrawerSelectEvent extends BaseEvent<DrawerHandle> {
11
- /**
12
- * A Drawer item event target.
13
- */
14
- itemTarget: any;
15
- /**
16
- * The index of the selected Drawer item.
17
- */
18
- itemIndex: number;
19
- }
@@ -1,10 +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 { ExpansionPanelHandle, ExpansionPanelProps } from './interfaces';
7
- /**
8
- * Represents the [KendoReact ExpansionPanel component]({% slug overview_expansionpanel %}).
9
- */
10
- export declare const ExpansionPanel: React.ForwardRefExoticComponent<ExpansionPanelProps & React.RefAttributes<ExpansionPanelHandle | null>>;
@@ -1,9 +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 KendoReact ExpansionPanelContent component.
8
- */
9
- export declare const ExpansionPanelContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +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
- export * from './ExpansionPanel';
6
- export * from './ExpansionPanelContent';
7
- export * from './interfaces';
@@ -1,92 +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 { BaseEvent, SVGIcon } from '@progress/kendo-react-common';
6
- /**
7
- * The ExpansionPanel ref.
8
- */
9
- export interface ExpansionPanelHandle {
10
- /**
11
- * The ExpansionPanel element.
12
- */
13
- element: HTMLDivElement | null;
14
- }
15
- /**
16
- * The arguments for the `onAction` ExpansionPanel event.
17
- */
18
- export interface ExpansionPanelActionEvent extends BaseEvent<ExpansionPanelHandle> {
19
- /**
20
- * Represents the `expanded` state of the ExpansionPanel.
21
- */
22
- expanded: boolean;
23
- }
24
- /**
25
- * The props of the ExpansionPanel component.
26
- */
27
- export interface ExpansionPanelProps {
28
- /**
29
- * The React elements that will be rendered inside the ExpansionPanel.
30
- */
31
- children?: React.ReactNode;
32
- /**
33
- * Sets additional CSS classes to the ExpansionPanel.
34
- */
35
- className?: string;
36
- /**
37
- * Sets additional CSS styles to the ExpansionPanel.
38
- */
39
- style?: React.CSSProperties;
40
- /**
41
- * Sets the `id` property of the root ExpansionPanel element.
42
- */
43
- id?: string;
44
- /**
45
- * Specifies the primary text in the header of the ExpansionPanel.
46
- */
47
- title?: React.ReactNode;
48
- /**
49
- * Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon.
50
- */
51
- subtitle?: React.ReactNode;
52
- /**
53
- * Sets a custom icon via css class(es), for the expanded state of the ExpansionPanel.
54
- */
55
- expandIcon?: string;
56
- /**
57
- * Sets a custom icon via css class(es), for the collapsed state of the ExpansionPanel.
58
- */
59
- collapseIcon?: string;
60
- /**
61
- * Sets a custom SVG icon for the expanded state of the ExpansionPanel.
62
- */
63
- expandSVGIcon?: SVGIcon;
64
- /**
65
- * Sets a custom SVG icon for the collapsed state of the ExpansionPanel.
66
- */
67
- collapseSVGIcon?: SVGIcon;
68
- /**
69
- * Sets the `dir` property of the ExpansionPanel.
70
- */
71
- dir?: string;
72
- /**
73
- * Sets the `tabIndex` property of the ExpansionPanel.
74
- */
75
- tabIndex?: number;
76
- /**
77
- * Sets the `expanded` state of the ExpansionPanel.
78
- */
79
- expanded?: boolean;
80
- /**
81
- * Sets the `disabled` state of the ExpansionPanel.
82
- */
83
- disabled?: boolean;
84
- /**
85
- * Sets `aria-controls`. The value should represent the `id` of the controlled content element.
86
- */
87
- ariaControls?: string;
88
- /**
89
- * The event handler that will be fired when the expanded state of the ExpansionPanel is about to change.
90
- */
91
- onAction?: (event: ExpansionPanelActionEvent) => void;
92
- }
@@ -1,43 +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 { GridLayoutProps } from './interfaces/GridLayoutProps';
7
- /**
8
- * Represents the Object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html)
9
- * callback of the GridLayout component.
10
- */
11
- export interface GridLayoutHandle {
12
- /**
13
- * Represents the current element. If no current element is present, `element` is `null`.
14
- */
15
- element: HTMLDivElement | null;
16
- }
17
- /**
18
- * Represents the [KendoReact GridLayout component]({% slug overview_gridlayout %}).
19
- * Arranges the contents of the component in rows and columns in a grid structure.
20
- *
21
- * @example
22
- * ```jsx
23
- *
24
- * const App = () => {
25
- * return (
26
- * <GridLayout
27
- * rows={[{height: 50}, {height: 50}, {height: 50}]}
28
- * cols={[{width: 50}, {width: 50}, {width: 50}]}
29
- * gap={{rows: 5, cols: 5}}
30
- * align={{horizontal: 'stretch', vertical: 'stretch'}}
31
- * >
32
- * <GridLayoutItem row={1} col={1}>Box</GridLayoutItem>
33
- * <GridLayoutItem row={1} col={2} colSpan={2}>Box</GridLayoutItem>
34
- * <GridLayoutItem row={2} col={1} colSpan={2} rowSpan={2}>Box</GridLayoutItem>
35
- * <GridLayoutItem row={2} col={3}>Box</GridLayoutItem>
36
- * <GridLayoutItem row={3} col={3}>Box</GridLayoutItem>
37
- * </GridLayout>
38
- * );
39
- * };
40
- * ReactDOM.render(<App />, document.querySelector('my-app'));
41
- * ```
42
- */
43
- export declare const GridLayout: React.ForwardRefExoticComponent<GridLayoutProps & React.RefAttributes<GridLayoutHandle | null>>;
@@ -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 { GridLayoutItemProps } from './interfaces/GridLayoutItemProps';
7
- /**
8
- * Represents the Object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html)
9
- * callback of the GridLayoutItem component.
10
- */
11
- export interface GridLayoutItemHandle {
12
- /**
13
- * Represents the current element. If no current element is present, `element` is `null`.
14
- */
15
- element: HTMLDivElement | null;
16
- }
17
- /**
18
- * Represents the [KendoReact GridLayoutItem component]({% slug overview_gridlayout %}).
19
- *
20
- * @example
21
- * ```jsx
22
- *
23
- * const App = () => {
24
- * return (
25
- * <GridLayout
26
- * rows={[{height: 50}, {height: 50}, {height: 50}]}
27
- * cols={[{width: 50}, {width: 50}, {width: 50}]}
28
- * gap={{rows: 5, cols: 5}}
29
- * align={{horizontal: 'stretch', vertical: 'stretch'}}
30
- * >
31
- * <GridLayoutItem row={1} col={1}>Box</GridLayoutItem>
32
- * <GridLayoutItem row={1} col={2} colSpan={2}>Box</GridLayoutItem>
33
- * <GridLayoutItem row={2} col={1} colSpan={2} rowSpan={2}>Box</GridLayoutItem>
34
- * <GridLayoutItem row={2} col={3}>Box</GridLayoutItem>
35
- * <GridLayoutItem row={3} col={3}>Box</GridLayoutItem>
36
- * </GridLayout>
37
- * );
38
- * };
39
- * ReactDOM.render(<App />, document.querySelector('my-app'));
40
- * ```
41
- */
42
- export declare const GridLayoutItem: React.ForwardRefExoticComponent<GridLayoutItemProps & React.RefAttributes<GridLayoutItemHandle | null>>;
@@ -1,13 +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
- * Represents the props of the [KendoReact GridLayout column]({% slug overview_gridlayout %}).
7
- */
8
- export interface GridLayoutColumnProps {
9
- /**
10
- * Specifies the width of the GridLayout column ([see example]({% slug overview_gridlayout %}#toc-react-gridlayout-demo-preview)).
11
- */
12
- width?: number | string;
13
- }
@@ -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
- /**
7
- * Represents the props of the [KendoReact GridLayoutItem component]({% slug overview_gridlayout %}).
8
- */
9
- export interface GridLayoutItemProps {
10
- /**
11
- * The React elements that will be rendered inside the GridLayoutItem.
12
- */
13
- children?: React.ReactNode;
14
- /**
15
- * Sets additional CSS classes to the GridLayoutItem.
16
- */
17
- className?: string;
18
- /**
19
- * Sets additional CSS styles to the GridLayoutItem.
20
- */
21
- style?: React.CSSProperties;
22
- /**
23
- * Sets the `id` property of the root GridLayoutItem element.
24
- */
25
- id?: string;
26
- /**
27
- * Defines the column line from which the element will start ([see example]({% slug items_gridlayout %}#toc-items)).
28
- */
29
- col?: number;
30
- /**
31
- * Specifies the number of columns over which the element will span ([see example]({% slug items_gridlayout %}#toc-items)).
32
- * Defaults to `1`.
33
- */
34
- colSpan?: number;
35
- /**
36
- * Defines the row line from which the element will start ([see example]({% slug items_gridlayout %}#toc-items)).
37
- */
38
- row?: number;
39
- /**
40
- * Specifies the number of rows over which the element will span ([see example]({% slug items_gridlayout %}#toc-items)).
41
- * Defaults to `1`.
42
- */
43
- rowSpan?: number;
44
- }
@@ -1,99 +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 { GridLayoutColumnProps } from './GridLayoutColumnProps';
7
- import { GridLayoutRowProps } from './GridLayoutRowProps';
8
- /**
9
- * Represents the props of the [KendoReact GridLayout component]({% slug overview_gridlayout %}).
10
- */
11
- export interface GridLayoutProps {
12
- /**
13
- * The React elements that will be rendered inside the GridLayout.
14
- */
15
- children?: React.ReactNode;
16
- /**
17
- * Sets additional CSS classes to the GridLayout.
18
- */
19
- className?: string;
20
- /**
21
- * Sets additional CSS styles to the GridLayout.
22
- */
23
- style?: React.CSSProperties;
24
- /**
25
- * Sets the `id` property of the root GridLayout element.
26
- */
27
- id?: string;
28
- /**
29
- * Specifies the gaps between the elements ([see example]({% slug layout_gridlayout %}#toc-gaps)).
30
- *
31
- * * The possible keys are:
32
- * * `rows`
33
- * * `columns`
34
- */
35
- gap?: GridLayoutGap;
36
- /**
37
- * Specifies the horizontal and vertical alignment of the inner GridLayout elements (see demos
38
- * [here]({% slug layout_gridlayout %}#toc-horizontal-align) and [here]({% slug layout_gridlayout %}#toc-vertical-align)).
39
- *
40
- * The possible keys are:
41
- * * `horizontal`&mdash;Defines the possible horizontal alignment of the inner GridLayout elements.
42
- * * `start`&mdash;Uses the start point of the container.
43
- * * `center`&mdash;Uses the central point of the container.
44
- * * `end`&mdash;Uses the end point of the container.
45
- * * (Default)`stretch`&mdash;Stretches the items to fill the width of the container.
46
- * * `vertical`&mdash; Defines the possible vertical alignment of the inner GridLayout elements.
47
- * * `top`&mdash;Uses the top point of the container.
48
- * * `middle`&mdash;Uses the middle point of the container.
49
- * * `bottom`&mdash;Uses the bottom point of the container.
50
- * * (Default)`stretch`&mdash;Stretches the items to fill the height of the container.
51
- */
52
- align?: GridLayoutAlign;
53
- /**
54
- * Specifies the default number of columns and their widths ([see example]({% slug layout_gridlayout %}#toc-rows-and-columns)).
55
- */
56
- cols?: GridLayoutColumnProps[];
57
- /**
58
- * Specifies the default number of rows and their height ([see example]({% slug layout_gridlayout %}#toc-rows-and-columns)).
59
- */
60
- rows?: GridLayoutRowProps[];
61
- }
62
- /**
63
- * Specifies the gaps between the elements.
64
- */
65
- export interface GridLayoutGap {
66
- /**
67
- * Represents the row gap between the elements
68
- */
69
- rows?: number | string;
70
- /**
71
- * Represents the column gap between the elements
72
- */
73
- cols?: number | string;
74
- }
75
- /**
76
- * Specifies the horizontal and vertical alignment of the inner GridLayout elements.
77
- */
78
- export interface GridLayoutAlign {
79
- /**
80
- * Defines the possible horizontal alignment of the inner GridLayout elements.
81
- *
82
- * The available values are:
83
- * - `start`&mdash;Uses the start point of the container.
84
- * - `center`&mdash;Uses the center point of the container.
85
- * - `end`&mdash;Uses the end point of the container.
86
- * - (Default)`stretch`&mdash;Stretches the items to fill the width of the container.
87
- */
88
- horizontal?: 'start' | 'center' | 'end' | 'stretch';
89
- /**
90
- * Defines the possible vertical alignment of the inner GridLayout elements.
91
- *
92
- * The available values are:
93
- * - `top`&mdash;Uses the top point of the container.
94
- * - `middle`&mdash;Uses the middle point of the container.
95
- * - `bottom`&mdash;Uses the bottom point of the container.
96
- * - (Default)`stretch`&mdash;Stretches the items to fill the height of the container.
97
- */
98
- vertical?: 'top' | 'middle' | 'bottom' | 'stretch';
99
- }
@@ -1,13 +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
- * Represents the props of the [KendoReact GridLayout row]({% slug overview_gridlayout %}).
7
- */
8
- export interface GridLayoutRowProps {
9
- /**
10
- * Specifies the height of the GridLayout row ([see example]({% slug overview_gridlayout %}#toc-react-gridlayout-demo-preview)).
11
- */
12
- height?: number | string;
13
- }
@@ -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
- /**
6
- * @hidden
7
- */
8
- export interface BaseMenuItemInternalProps {
9
- focusedItemId: string;
10
- lastItemIdToBeOpened: string;
11
- tabbableItemId: string;
12
- itemRender?: any;
13
- linkRender?: any;
14
- isMenuVertical: boolean;
15
- isDirectionRightToLeft?: boolean;
16
- menuGuid: string;
17
- onMouseOver: any;
18
- onMouseLeave: any;
19
- onMouseDown: any;
20
- onFocus: any;
21
- onClick: any;
22
- onBlur: any;
23
- onOriginalItemNeeded: any;
24
- }
@@ -1,75 +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 { MenuItemModel } from './models/MenuItemModel';
6
- import { MenuSelectEvent } from './events';
7
- /**
8
- * The properties of the [KendoReact Menu component]({% slug overview_menu %}).
9
- */
10
- export interface MenuProps {
11
- /**
12
- * Specifies whether the Menu will be vertical ([see example]({% slug vertical_menu %})).
13
- */
14
- vertical?: boolean;
15
- /**
16
- * Sets the Menu items.
17
- */
18
- items?: MenuItemModel[];
19
- /**
20
- * Sets the Menu items declaratively.
21
- */
22
- children?: React.ReactNode;
23
- /**
24
- * Sets additional CSS styles to the Menu.
25
- */
26
- style?: React.CSSProperties;
27
- /**
28
- * Sets the ID of the Menu.
29
- */
30
- id?: string;
31
- /**
32
- * Sets the direction of the Menu.
33
- */
34
- dir?: string;
35
- /**
36
- * Specifies the delay in milliseconds before the Menu items are opened on item mouse-hover ([see example]({% slug opening_closing_menu %}#toc-delay-on-hover)). Defaults to `100`. If `openOnClick` is `true`, defaults to `0`.
37
- */
38
- hoverOpenDelay?: number;
39
- /**
40
- * Specifies the delay in milliseconds before the Menu items are closed on item mouse-leave ([see example]({% slug opening_closing_menu %}#toc-delay-on-hover)). Used to avoid accidental closure on leaving. Defaults to `100`.
41
- */
42
- hoverCloseDelay?: number;
43
- /**
44
- * If `openOnClick` is set to `true`, the items are opened on mouse hover only after an initial click.
45
- */
46
- openOnClick?: boolean;
47
- /**
48
- * A React functional or class component which is used for rendering the innermost part of the Menu item ([see example]({% slug rendering_menu %}#toc-items)). By default, the innermost item part includes only the text for the item.
49
- */
50
- itemRender?: any;
51
- /**
52
- * A React functional or class component which is used for rendering the link of the item ([see example]({% slug rendering_menu %}#toc-links)). The item link is a part of the visual representation of the item which, by default, includes an arrow, icon, and text.
53
- */
54
- linkRender?: any;
55
- /**
56
- * Sets the ids of the Menu items that will not be closed on mouse-leave. The ids are hierarchical and zero-based. The first root item has a `0` id. If the first root item has children, the first child item acquires a `0_0` id and the second acquires a `0_1` id.
57
- */
58
- customCloseItemIds?: string[];
59
- /**
60
- * Adds a custom className to the Menu top element.
61
- */
62
- className?: string;
63
- /**
64
- * @hidden
65
- */
66
- role?: string;
67
- /**
68
- * Fires when a Menu item is selected.
69
- */
70
- onSelect?: (event: MenuSelectEvent) => void;
71
- /**
72
- * @hidden
73
- */
74
- onClose?: (event: React.SyntheticEvent<HTMLElement>) => void;
75
- }