@progress/kendo-react-layout 9.4.0-develop.23 → 9.4.0-develop.3

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 (162) hide show
  1. package/NOTICE.txt +51 -40
  2. package/actionsheet/ActionSheet.js +1 -1
  3. package/actionsheet/ActionSheet.mjs +1 -0
  4. package/actionsheet/ActionSheetContent.js +1 -1
  5. package/actionsheet/ActionSheetContent.mjs +6 -5
  6. package/actionsheet/ActionSheetFooter.js +1 -1
  7. package/actionsheet/ActionSheetFooter.mjs +1 -0
  8. package/actionsheet/ActionSheetHeader.js +1 -1
  9. package/actionsheet/ActionSheetHeader.mjs +8 -7
  10. package/actionsheet/ActionSheetItem.js +1 -1
  11. package/actionsheet/ActionSheetItem.mjs +1 -0
  12. package/appbar/AppBar.js +1 -1
  13. package/appbar/AppBar.mjs +11 -10
  14. package/appbar/AppBarSection.js +1 -1
  15. package/appbar/AppBarSection.mjs +12 -11
  16. package/appbar/AppBarSpacer.js +1 -1
  17. package/appbar/AppBarSpacer.mjs +4 -3
  18. package/bottomnavigation/BottomNavigation.js +1 -1
  19. package/bottomnavigation/BottomNavigation.mjs +24 -23
  20. package/bottomnavigation/BottomNavigationItem.js +1 -1
  21. package/bottomnavigation/BottomNavigationItem.mjs +12 -11
  22. package/bottomnavigation/models/utils.js +1 -1
  23. package/bottomnavigation/models/utils.mjs +5 -4
  24. package/breadcrumb/Breadcrumb.js +1 -1
  25. package/breadcrumb/Breadcrumb.mjs +1 -0
  26. package/breadcrumb/BreadcrumbDelimiter.js +1 -1
  27. package/breadcrumb/BreadcrumbDelimiter.mjs +1 -0
  28. package/breadcrumb/BreadcrumbLink.js +1 -1
  29. package/breadcrumb/BreadcrumbLink.mjs +1 -0
  30. package/breadcrumb/BreadcrumbListItem.js +1 -1
  31. package/breadcrumb/BreadcrumbListItem.mjs +1 -0
  32. package/breadcrumb/BreadcrumbOrderedList.js +1 -1
  33. package/breadcrumb/BreadcrumbOrderedList.mjs +7 -6
  34. package/card/Avatar.js +1 -1
  35. package/card/Avatar.mjs +1 -0
  36. package/card/Card.js +1 -1
  37. package/card/Card.mjs +1 -0
  38. package/card/CardActions.js +1 -1
  39. package/card/CardActions.mjs +5 -4
  40. package/card/CardBody.js +1 -1
  41. package/card/CardBody.mjs +5 -4
  42. package/card/CardFooter.js +1 -1
  43. package/card/CardFooter.mjs +1 -0
  44. package/card/CardHeader.js +1 -1
  45. package/card/CardHeader.mjs +1 -0
  46. package/card/CardImage.js +1 -1
  47. package/card/CardImage.mjs +4 -3
  48. package/card/CardSubtitle.js +1 -1
  49. package/card/CardSubtitle.mjs +1 -0
  50. package/card/CardTitle.js +1 -1
  51. package/card/CardTitle.mjs +5 -4
  52. package/card/interfaces/Enums.js +1 -1
  53. package/card/interfaces/Enums.mjs +5 -4
  54. package/contextmenu/ContextMenu.js +1 -1
  55. package/contextmenu/ContextMenu.mjs +10 -10
  56. package/dist/cdn/js/kendo-react-layout.js +1 -8
  57. package/drawer/Drawer.js +1 -1
  58. package/drawer/Drawer.mjs +7 -6
  59. package/drawer/DrawerContent.js +1 -1
  60. package/drawer/DrawerContent.mjs +1 -0
  61. package/drawer/DrawerItem.js +1 -1
  62. package/drawer/DrawerItem.mjs +5 -4
  63. package/drawer/DrawerNavigation.js +1 -1
  64. package/drawer/DrawerNavigation.mjs +1 -0
  65. package/drawer/context/DrawerContext.js +1 -1
  66. package/drawer/context/DrawerContext.mjs +3 -2
  67. package/expansionpanel/ExpansionPanel.js +1 -1
  68. package/expansionpanel/ExpansionPanel.mjs +22 -21
  69. package/expansionpanel/ExpansionPanelContent.js +1 -1
  70. package/expansionpanel/ExpansionPanelContent.mjs +1 -0
  71. package/gridlayout/GridLayout.js +1 -1
  72. package/gridlayout/GridLayout.mjs +10 -9
  73. package/gridlayout/GridLayoutItem.js +1 -1
  74. package/gridlayout/GridLayoutItem.mjs +1 -0
  75. package/index.d.mts +16 -92
  76. package/index.d.ts +16 -92
  77. package/index.js +1 -2
  78. package/menu/components/Menu.js +1 -1
  79. package/menu/components/Menu.mjs +1 -0
  80. package/menu/components/MenuItem.js +1 -1
  81. package/menu/components/MenuItem.mjs +3 -2
  82. package/menu/components/MenuItemArrow.js +1 -1
  83. package/menu/components/MenuItemArrow.mjs +1 -0
  84. package/menu/components/MenuItemInternal.js +1 -1
  85. package/menu/components/MenuItemInternal.mjs +18 -24
  86. package/menu/components/MenuItemLink.js +1 -1
  87. package/menu/components/MenuItemLink.mjs +1 -0
  88. package/menu/consts.js +1 -1
  89. package/menu/consts.mjs +1 -0
  90. package/menu/utils/DirectionHolder.js +1 -1
  91. package/menu/utils/DirectionHolder.mjs +1 -0
  92. package/menu/utils/MouseOverHandler.js +1 -1
  93. package/menu/utils/MouseOverHandler.mjs +1 -0
  94. package/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -1
  95. package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +1 -0
  96. package/menu/utils/hoverDelay.js +1 -1
  97. package/menu/utils/hoverDelay.mjs +1 -0
  98. package/menu/utils/itemsIdsUtils.js +1 -1
  99. package/menu/utils/itemsIdsUtils.mjs +1 -0
  100. package/menu/utils/misc.js +1 -1
  101. package/menu/utils/misc.mjs +12 -11
  102. package/menu/utils/prepareInputItemsForInternalWork.js +1 -1
  103. package/menu/utils/prepareInputItemsForInternalWork.mjs +4 -3
  104. package/package-metadata.js +1 -1
  105. package/package-metadata.mjs +3 -2
  106. package/package.json +8 -8
  107. package/panelbar/PanelBar.js +1 -1
  108. package/panelbar/PanelBar.mjs +34 -33
  109. package/panelbar/PanelBarItem.js +1 -1
  110. package/panelbar/PanelBarItem.mjs +1 -0
  111. package/panelbar/interfaces/NavigationAction.js +1 -1
  112. package/panelbar/interfaces/NavigationAction.mjs +1 -0
  113. package/panelbar/util.js +1 -1
  114. package/panelbar/util.mjs +19 -18
  115. package/splitter/Splitter.js +1 -1
  116. package/splitter/Splitter.mjs +1 -0
  117. package/splitter/SplitterBar.js +1 -1
  118. package/splitter/SplitterBar.mjs +1 -0
  119. package/splitter/SplitterPane.js +1 -1
  120. package/splitter/SplitterPane.mjs +10 -9
  121. package/splitter/messages/index.js +1 -1
  122. package/splitter/messages/index.mjs +3 -2
  123. package/stacklayout/StackLayout.js +1 -1
  124. package/stacklayout/StackLayout.mjs +4 -3
  125. package/stepper/Step.js +1 -1
  126. package/stepper/Step.mjs +16 -15
  127. package/stepper/Stepper.js +1 -1
  128. package/stepper/Stepper.mjs +1 -0
  129. package/stepper/contants.js +1 -1
  130. package/stepper/contants.mjs +1 -0
  131. package/stepper/context/StepperContext.js +1 -1
  132. package/stepper/context/StepperContext.mjs +1 -0
  133. package/stepper/messages/index.js +1 -1
  134. package/stepper/messages/index.mjs +1 -0
  135. package/tabstrip/TabStrip.js +1 -1
  136. package/tabstrip/TabStrip.mjs +79 -110
  137. package/tabstrip/TabStripContent.js +1 -1
  138. package/tabstrip/TabStripContent.mjs +1 -0
  139. package/tabstrip/TabStripNavigation.js +1 -1
  140. package/tabstrip/TabStripNavigation.mjs +117 -110
  141. package/tabstrip/TabStripNavigationItem.js +1 -1
  142. package/tabstrip/TabStripNavigationItem.mjs +8 -7
  143. package/tabstrip/TabStripTab.js +1 -1
  144. package/tabstrip/TabStripTab.mjs +5 -4
  145. package/tabstrip/messages/index.js +1 -1
  146. package/tabstrip/messages/index.mjs +1 -0
  147. package/tilelayout/InternalTile.js +1 -1
  148. package/tilelayout/InternalTile.mjs +1 -0
  149. package/tilelayout/ResizeHandlers.js +1 -1
  150. package/tilelayout/ResizeHandlers.mjs +11 -10
  151. package/tilelayout/TileLayout.js +1 -1
  152. package/tilelayout/TileLayout.mjs +1 -0
  153. package/timeline/Timeline.js +1 -1
  154. package/timeline/Timeline.mjs +18 -17
  155. package/timeline/TimelineCard.js +1 -1
  156. package/timeline/TimelineCard.mjs +5 -4
  157. package/timeline/TimelineHorizontal.js +1 -1
  158. package/timeline/TimelineHorizontal.mjs +1 -0
  159. package/timeline/TimelineVertical.js +1 -1
  160. package/timeline/TimelineVertical.mjs +1 -0
  161. package/timeline/utils.js +1 -1
  162. package/timeline/utils.mjs +7 -6
@@ -5,10 +5,11 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- var E = /* @__PURE__ */ ((r) => (r.TEXT = "text", r.IMAGE = "image", r.ICON = "icon", r))(E || {}), R = /* @__PURE__ */ ((r) => (r.HORIZONTAL = "horizontal", r.VERTICAL = "vertical", r))(R || {}), e = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.primary = "primary", r.INFO = "info", r.SUCCESS = "success", r.WARNING = "warning", r.ERROR = "error", r))(e || {}), N = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r.STRETCHED = "stretched", r))(N || {});
8
+ "use client";
9
+ var E = /* @__PURE__ */ ((r) => (r.TEXT = "text", r.IMAGE = "image", r.ICON = "icon", r))(E || {}), e = /* @__PURE__ */ ((r) => (r.HORIZONTAL = "horizontal", r.VERTICAL = "vertical", r))(e || {}), R = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.primary = "primary", r.INFO = "info", r.SUCCESS = "success", r.WARNING = "warning", r.ERROR = "error", r))(R || {}), n = /* @__PURE__ */ ((r) => (r.START = "start", r.CENTER = "center", r.END = "end", r.STRETCHED = "stretched", r))(n || {});
9
10
  export {
10
11
  E as avatarType,
11
- N as cardActionsLayout,
12
- R as cardOrientation,
13
- e as cardType
12
+ n as cardActionsLayout,
13
+ e as cardOrientation,
14
+ R as cardType
14
15
  };
@@ -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 l=require("react"),r=require("@progress/kendo-react-common"),i=require("@progress/kendo-react-popup"),m=require("../menu/components/Menu.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=f(l),s=e=>{const t=u.useRef(null),n=r.useId(e.id);return u.useEffect(()=>{e.show&&setTimeout(()=>{const o=t.current&&t.current.element,c=o&&o.querySelector(".k-menu-item"),a=r.getActiveElement(c&&c.ownerDocument);c&&c!==a&&c.focus()})},[e.show]),u.createElement(i.Popup,{show:e.show,offset:e.offset,popupClass:"k-menu-popup k-overflow-visible",animate:!1},u.createElement(m.Menu,{id:n,vertical:!0,...e,ref:t,className:r.classNames("k-context-menu",e.className),onClose:e.onClose,role:"menu"},e.children))};s.displayName="KendoReactContextMenu";exports.ContextMenu=s;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),u=require("@progress/kendo-react-common"),a=require("@progress/kendo-react-popup"),i=require("../menu/components/Menu.js");function m(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const t=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,t.get?t:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const c=m(l),r=e=>{const n=c.useRef(null);return c.useEffect(()=>{e.show&&setTimeout(()=>{const o=n.current&&n.current.element,t=o&&o.querySelector(".k-menu-item"),s=u.getActiveElement(t&&t.ownerDocument);t&&t!==s&&t.focus()})},[e.show]),c.createElement(a.Popup,{show:e.show,offset:e.offset,popupClass:"k-menu-popup k-overflow-visible",animate:!1},c.createElement(i.Menu,{vertical:!0,...e,ref:n,className:u.classNames("k-context-menu",e.className),onClose:e.onClose,role:"menu"},e.children))};r.displayName="KendoReactContextMenu";exports.ContextMenu=r;
@@ -5,25 +5,25 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
+ "use client";
8
9
  import * as n from "react";
9
- import { useId as u, getActiveElement as l, classNames as a } from "@progress/kendo-react-common";
10
- import { Popup as f } from "@progress/kendo-react-popup";
11
- import { Menu as i } from "../menu/components/Menu.mjs";
10
+ import { getActiveElement as s, classNames as u } from "@progress/kendo-react-common";
11
+ import { Popup as l } from "@progress/kendo-react-popup";
12
+ import { Menu as a } from "../menu/components/Menu.mjs";
12
13
  const r = (e) => {
13
- const o = n.useRef(null), c = u(e.id);
14
+ const o = n.useRef(null);
14
15
  return n.useEffect(() => {
15
16
  e.show && setTimeout(() => {
16
- const m = o.current && o.current.element, t = m && m.querySelector(".k-menu-item"), s = l(t && t.ownerDocument);
17
- t && t !== s && t.focus();
17
+ const m = o.current && o.current.element, t = m && m.querySelector(".k-menu-item"), c = s(t && t.ownerDocument);
18
+ t && t !== c && t.focus();
18
19
  });
19
- }, [e.show]), /* @__PURE__ */ n.createElement(f, { show: e.show, offset: e.offset, popupClass: "k-menu-popup k-overflow-visible", animate: !1 }, /* @__PURE__ */ n.createElement(
20
- i,
20
+ }, [e.show]), /* @__PURE__ */ n.createElement(l, { show: e.show, offset: e.offset, popupClass: "k-menu-popup k-overflow-visible", animate: !1 }, /* @__PURE__ */ n.createElement(
21
+ a,
21
22
  {
22
- id: c,
23
23
  vertical: !0,
24
24
  ...e,
25
25
  ref: o,
26
- className: a("k-context-menu", e.className),
26
+ className: u("k-context-menu", e.className),
27
27
  onClose: e.onClose,
28
28
  role: "menu"
29
29
  },