@progress/kendo-react-layout 14.4.1-develop.9 → 14.5.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/actionsheet/ActionSheet.d.ts +1 -1
  2. package/actionsheet/ActionSheetContent.d.ts +1 -1
  3. package/actionsheet/ActionSheetFooter.d.ts +1 -1
  4. package/actionsheet/ActionSheetHeader.d.ts +1 -1
  5. package/actionsheet/ActionSheetItem.d.ts +1 -1
  6. package/appbar/AppBar.d.ts +1 -1
  7. package/appbar/AppBarSection.d.ts +1 -1
  8. package/appbar/AppBarSpacer.d.ts +1 -1
  9. package/bottomnavigation/BottomNavigation.d.ts +1 -1
  10. package/bottomnavigation/BottomNavigationProps.d.ts +2 -2
  11. package/card/Avatar.d.ts +1 -1
  12. package/card/Card.d.ts +2 -2
  13. package/card/CardActions.d.ts +1 -1
  14. package/card/CardBody.d.ts +1 -1
  15. package/card/CardFooter.d.ts +1 -1
  16. package/card/CardHeader.d.ts +1 -1
  17. package/card/CardImage.d.ts +1 -1
  18. package/card/CardSubtitle.d.ts +1 -1
  19. package/card/CardTitle.d.ts +1 -1
  20. package/card/interfaces/CardHandle.d.ts +1 -1
  21. package/contextmenu/ContextMenu.d.ts +2 -2
  22. package/dist/cdn/js/kendo-react-layout.js +1 -1
  23. package/drawer/Drawer.d.ts +1 -1
  24. package/drawer/DrawerContent.d.ts +1 -1
  25. package/drawer/DrawerItem.d.ts +2 -2
  26. package/drawer/DrawerNavigation.d.ts +1 -1
  27. package/drawer/context/DrawerContext.d.ts +2 -2
  28. package/drawer/interfaces/DrawerProps.d.ts +3 -3
  29. package/expansionpanel/ExpansionPanel.d.ts +1 -1
  30. package/expansionpanel/index.d.ts +1 -1
  31. package/gridlayout/GridLayout.d.ts +1 -1
  32. package/gridlayout/GridLayoutItem.d.ts +1 -1
  33. package/gridlayout/interfaces/GridLayoutProps.d.ts +2 -2
  34. package/index.d.mts +39 -39
  35. package/index.d.ts +39 -39
  36. package/menu/MenuProps.d.ts +2 -2
  37. package/menu/components/Menu.d.ts +15 -94
  38. package/menu/components/Menu.js +1 -1
  39. package/menu/components/Menu.mjs +223 -212
  40. package/menu/components/MenuItem.d.ts +5 -25
  41. package/menu/components/MenuItem.js +1 -1
  42. package/menu/components/MenuItem.mjs +16 -24
  43. package/menu/components/MenuItemArrow.d.ts +1 -16
  44. package/menu/components/MenuItemArrow.js +1 -1
  45. package/menu/components/MenuItemArrow.mjs +26 -35
  46. package/menu/components/MenuItemInternal.d.ts +4 -37
  47. package/menu/components/MenuItemInternal.js +1 -1
  48. package/menu/components/MenuItemInternal.mjs +174 -219
  49. package/menu/components/MenuItemLink.d.ts +1 -15
  50. package/menu/components/MenuItemLink.js +1 -1
  51. package/menu/components/MenuItemLink.mjs +17 -30
  52. package/menu/events.d.ts +5 -5
  53. package/menu/models/MenuItemModel.d.ts +1 -1
  54. package/menu/utils/DirectionHolder.js +1 -1
  55. package/menu/utils/DirectionHolder.mjs +1 -1
  56. package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +1 -1
  57. package/menu/utils/hoverDelay.d.ts +1 -1
  58. package/menu/utils/prepareInputItemsForInternalWork.d.ts +1 -1
  59. package/package-metadata.js +1 -1
  60. package/package-metadata.mjs +2 -2
  61. package/package.json +8 -8
  62. package/panelbar/PanelBarItem.d.ts +1 -1
  63. package/panelbar/interfaces/PanelBarItemHandle.d.ts +1 -1
  64. package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +1 -1
  65. package/panelbar/util.d.ts +2 -2
  66. package/stacklayout/StackLayout.d.ts +1 -1
  67. package/stepper/Step.d.ts +2 -2
  68. package/stepper/Stepper.d.ts +2 -2
  69. package/stepper/context/StepperContext.d.ts +3 -3
  70. package/stepper/interfaces/StepChangeEvent.d.ts +1 -1
  71. package/stepper/interfaces/StepFocusEvent.d.ts +1 -1
  72. package/stepper/interfaces/StepperChangeEvent.d.ts +1 -1
  73. package/stepper/interfaces/StepperFocusEvent.d.ts +1 -1
  74. package/stepper/interfaces/StepperOnNavigateEvent.d.ts +1 -1
  75. package/stepper/interfaces/StepperProps.d.ts +3 -3
@@ -5,36 +5,23 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import * as e from "react";
9
- import t from "prop-types";
10
- import { classNames as r } from "@progress/kendo-react-common";
11
- const s = class s extends e.Component {
12
- /**
13
- * @hidden
14
- */
15
- render() {
16
- return this.props.url ? /* @__PURE__ */ e.createElement("a", { className: this.getMenuItemClassName(), role: "presentation", href: this.props.url, tabIndex: -1 }, this.props.children) : /* @__PURE__ */ e.createElement(
17
- "span",
18
- {
19
- id: this.props.id,
20
- className: r(this.getMenuItemClassName(), this.props.className),
21
- style: this.props.style,
22
- role: "presentation"
23
- },
24
- this.props.children
25
- );
26
- }
27
- getMenuItemClassName() {
28
- return r("k-link", "k-menu-link", {
29
- "k-active": this.props.opened
30
- });
31
- }
8
+ import * as t from "react";
9
+ import n from "prop-types";
10
+ import { classNames as l } from "@progress/kendo-react-common";
11
+ const a = (e) => l("k-link", "k-menu-link", { "k-active": e }), m = (e) => e.url ? /* @__PURE__ */ t.createElement("a", { className: a(e.opened), href: e.url, tabIndex: -1 }, e.children) : /* @__PURE__ */ t.createElement(
12
+ "span",
13
+ {
14
+ id: e.id,
15
+ className: l(a(e.opened), e.className),
16
+ style: e.style,
17
+ role: "presentation"
18
+ },
19
+ e.children
20
+ );
21
+ m.propTypes = {
22
+ opened: n.bool,
23
+ url: n.string
32
24
  };
33
- s.propTypes = {
34
- opened: t.bool,
35
- url: t.string
36
- };
37
- let p = s;
38
25
  export {
39
- p as MenuItemLink
26
+ m as MenuItemLink
40
27
  };
package/menu/events.d.ts CHANGED
@@ -5,14 +5,14 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { Menu } from './components/Menu.js';
9
- import { MenuItemModel } from './models/MenuItemModel.js';
8
+ import { MenuHandle } from './components/Menu.js';
9
+ import { MenuItemModel } from './models/MenuItemModel';
10
10
  import { BaseEvent } from '@progress/kendo-react-common';
11
11
  import { PopupCloseEvent } from '@progress/kendo-react-popup';
12
12
  /**
13
13
  * The arguments for the `select` event of the Menu. If the item has a URL and the event is prevented, navigation to the URL does not occur.
14
14
  */
15
- export interface MenuSelectEvent extends BaseEvent<Menu> {
15
+ export interface MenuSelectEvent extends BaseEvent<MenuHandle> {
16
16
  /**
17
17
  * The id of selected item. 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 acquires a `0_0` id and the second acquires a `0_1` id.
18
18
  */
@@ -27,9 +27,9 @@ export interface MenuSelectEvent extends BaseEvent<Menu> {
27
27
  */
28
28
  export interface MenuCloseEvent {
29
29
  /**
30
- * The Menu component instance.
30
+ * The Menu component handle.
31
31
  */
32
- target: Menu;
32
+ target: MenuHandle;
33
33
  /**
34
34
  * The id of the item whose popup was closed. 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 acquires a `0_0` id and the second acquires a `0_1` id.
35
35
  */
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { BaseMenuItem } from './BaseMenuItem.js';
8
+ import { BaseMenuItem } from './BaseMenuItem';
9
9
  /**
10
10
  * The interface for describing items that can be passed to the `items` property of the Menu as an alternative to passing them as children.
11
11
  */
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class e{constructor(){this.phase="Initialized"}getIsDirectionRightToLeft(){return this.isDirectionRightToLeft}setIsDirectionRightToLeft(i){this.phase=this.phase==="NotInitialized"?"Initialized":"NewValueReceived",this.previousIsDirectionRightToLeft=this.isDirectionRightToLeft,this.isDirectionRightToLeft=i}hasDirectionChanged(){return this.phase==="NewValueReceived"?this.previousIsDirectionRightToLeft!==this.isDirectionRightToLeft:!1}}exports.DirectionHolder=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class t{constructor(){this.phase="NotInitialized"}getIsDirectionRightToLeft(){return this.isDirectionRightToLeft}setIsDirectionRightToLeft(i){this.phase=this.phase==="NotInitialized"?"Initialized":"NewValueReceived",this.previousIsDirectionRightToLeft=this.isDirectionRightToLeft,this.isDirectionRightToLeft=i}hasDirectionChanged(){return this.phase==="NewValueReceived"?this.previousIsDirectionRightToLeft!==this.isDirectionRightToLeft:!1}}exports.DirectionHolder=t;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  class e {
9
9
  constructor() {
10
- this.phase = "Initialized";
10
+ this.phase = "NotInitialized";
11
11
  }
12
12
  getIsDirectionRightToLeft() {
13
13
  return this.isDirectionRightToLeft;
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { MenuItemInternalModel } from '../models/MenuItemModel.js';
8
+ import { MenuItemInternalModel } from '../models/MenuItemModel';
9
9
  /**
10
10
  * @hidden
11
11
  * Returns the `itemId` (string) for applicable key codes even when the id has not changed.
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { MenuProps } from '../MenuProps.js';
8
+ import { MenuProps } from '../MenuProps';
9
9
  /**
10
10
  * @hidden
11
11
  */
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { MenuItemModel } from '../models/MenuItemModel.js';
8
+ import { MenuItemModel } from '../models/MenuItemModel';
9
9
  import * as React from 'react';
10
10
  /**
11
11
  * @hidden
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-layout",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1776954801,version:"14.4.1-develop.9",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-layout",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1777909861,version:"14.5.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
7
7
  productName: 'KendoReact',
8
8
  productCode: 'KENDOUIREACT',
9
9
  productCodes: ['KENDOUIREACT'],
10
- publishDate: 1776954801,
11
- version: '14.4.1-develop.9',
10
+ publishDate: 1777909861,
11
+ version: '14.5.0-develop.1',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-layout",
3
- "version": "14.4.1-develop.9",
3
+ "version": "14.5.0-develop.1",
4
4
  "description": "React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,12 +26,12 @@
26
26
  "sideEffects": false,
27
27
  "peerDependencies": {
28
28
  "@progress/kendo-licensing": "^1.7.2",
29
- "@progress/kendo-react-animation": "14.4.1-develop.9",
30
- "@progress/kendo-react-buttons": "14.4.1-develop.9",
31
- "@progress/kendo-react-common": "14.4.1-develop.9",
32
- "@progress/kendo-react-intl": "14.4.1-develop.9",
33
- "@progress/kendo-react-popup": "14.4.1-develop.9",
34
- "@progress/kendo-react-progressbars": "14.4.1-develop.9",
29
+ "@progress/kendo-react-animation": "14.5.0-develop.1",
30
+ "@progress/kendo-react-buttons": "14.5.0-develop.1",
31
+ "@progress/kendo-react-common": "14.5.0-develop.1",
32
+ "@progress/kendo-react-intl": "14.5.0-develop.1",
33
+ "@progress/kendo-react-popup": "14.5.0-develop.1",
34
+ "@progress/kendo-react-progressbars": "14.5.0-develop.1",
35
35
  "@progress/kendo-svg-icons": "^4.0.0",
36
36
  "react": "^18.0.0 || ^19.0.0",
37
37
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -76,7 +76,7 @@
76
76
  "package": {
77
77
  "productName": "KendoReact",
78
78
  "productCode": "KENDOUIREACT",
79
- "publishDate": 1776954801,
79
+ "publishDate": 1777909861,
80
80
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
81
81
  }
82
82
  },
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { PanelBarItemProps } from '../index.js';
9
- import { PanelBarItemHandle } from './interfaces/PanelBarItemHandle.js';
9
+ import { PanelBarItemHandle } from './interfaces/PanelBarItemHandle';
10
10
  import * as React from 'react';
11
11
  /**
12
12
  * Represents the PanelBarItem component.
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { PanelBarItemProps } from './PanelBarItemProps.js';
8
+ import { PanelBarItemProps } from './PanelBarItemProps';
9
9
  /**
10
10
  * Represents the handle of the PanelBarItem component.
11
11
  */
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { PanelBarItemProps } from '../interfaces/PanelBarItemProps.js';
8
+ import { PanelBarItemProps } from '../interfaces/PanelBarItemProps';
9
9
  /**
10
10
  * The arguments that are passed to the `onSelect` callback function.
11
11
  */
@@ -6,9 +6,9 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { PanelBarState } from './PanelBar.js';
9
- import { RenderPanelBarItem } from './interfaces/RenderPanelBarItem.js';
9
+ import { RenderPanelBarItem } from './interfaces/RenderPanelBarItem';
10
10
  import { PanelBarItemProps } from '../index.js';
11
- import { PanelBarExpandMode } from './interfaces/PanelBarProps.js';
11
+ import { PanelBarExpandMode } from './interfaces/PanelBarProps';
12
12
  import { NavigationAction } from './interfaces/NavigationAction.js';
13
13
  import * as React from 'react';
14
14
  /**
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StackLayoutProps } from './StackLayoutProps.js';
8
+ import { StackLayoutProps } from './StackLayoutProps';
9
9
  import * as React from 'react';
10
10
  /**
11
11
  * Represents the Object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom)
package/stepper/Step.d.ts CHANGED
@@ -5,8 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepHandle } from './interfaces/StepHandle.js';
9
- import { StepProps } from './interfaces/StepProps.js';
8
+ import { StepHandle } from './interfaces/StepHandle';
9
+ import { StepProps } from './interfaces/StepProps';
10
10
  import * as React from 'react';
11
11
  /**
12
12
  * Represents the [KendoReact Step component](https://www.telerik.com/kendo-react-ui/components/layout/stepper).
@@ -5,8 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepperProps } from './interfaces/StepperProps.js';
9
- import { StepperHandle } from './interfaces/StepperHandle.js';
8
+ import { StepperProps } from './interfaces/StepperProps';
9
+ import { StepperHandle } from './interfaces/StepperHandle';
10
10
  import * as React from 'react';
11
11
  /**
12
12
  * Represents the [KendoReact Stepper component](https://www.telerik.com/kendo-react-ui/components/layout/stepper).
@@ -5,9 +5,9 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepProps } from '../interfaces/StepProps.js';
9
- import { StepChangeEvent } from '../interfaces/StepChangeEvent.js';
10
- import { StepFocusEvent } from '../interfaces/StepFocusEvent.js';
8
+ import { StepProps } from '../interfaces/StepProps';
9
+ import { StepChangeEvent } from '../interfaces/StepChangeEvent';
10
+ import { StepFocusEvent } from '../interfaces/StepFocusEvent';
11
11
  import { SVGIcon } from '@progress/kendo-react-common';
12
12
  import * as React from 'react';
13
13
  /** @hidden */
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepHandle } from './StepHandle.js';
8
+ import { StepHandle } from './StepHandle';
9
9
  import { BaseEvent } from '@progress/kendo-react-common';
10
10
  /**
11
11
  * The arguments for the `onChange` Step event.
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepHandle } from './StepHandle.js';
8
+ import { StepHandle } from './StepHandle';
9
9
  import { BaseEvent } from '@progress/kendo-react-common';
10
10
  /**
11
11
  * The arguments for the `onFocus` Step event.
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepperHandle } from '../interfaces/StepperHandle.js';
8
+ import { StepperHandle } from '../interfaces/StepperHandle';
9
9
  import { BaseEvent } from '@progress/kendo-react-common';
10
10
  /**
11
11
  * The arguments for the `onChange` Stepper event.
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepperHandle } from '../interfaces/StepperHandle.js';
8
+ import { StepperHandle } from '../interfaces/StepperHandle';
9
9
  import { BaseEvent } from '@progress/kendo-react-common';
10
10
  /**
11
11
  * The arguments for the `onFocus` Stepper event.
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { BaseEvent } from '@progress/kendo-react-common';
9
- import { StepperHandle } from './../interfaces/StepperHandle.js';
9
+ import { StepperHandle } from './../interfaces/StepperHandle';
10
10
  /**
11
11
  * The `StepperOnNavigateEvent` event.
12
12
  */
@@ -5,9 +5,9 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { StepProps } from './StepProps.js';
9
- import { StepperChangeEvent } from './StepperChangeEvent.js';
10
- import { StepperFocusEvent } from './StepperFocusEvent.js';
8
+ import { StepProps } from './StepProps';
9
+ import { StepperChangeEvent } from './StepperChangeEvent';
10
+ import { StepperFocusEvent } from './StepperFocusEvent';
11
11
  import { SVGIcon } from '@progress/kendo-react-common';
12
12
  import * as React from 'react';
13
13
  /**