@progress/kendo-react-layout 5.4.0-dev.202205200719 → 5.4.0-dev.202206061009

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 (244) hide show
  1. package/dist/cdn/js/kendo-react-layout.js +1 -1
  2. package/dist/es/appbar/AppBar.d.ts +1 -1
  3. package/dist/es/appbar/AppBarSection.d.ts +1 -1
  4. package/dist/es/appbar/AppBarSpacer.d.ts +1 -1
  5. package/dist/es/appbar/interfaces/AppBarProps.js +1 -0
  6. package/dist/es/appbar/interfaces/AppBarSectionProps.js +1 -0
  7. package/dist/es/appbar/interfaces/AppBarSpacerProps.d.ts +4 -0
  8. package/dist/es/appbar/interfaces/AppBarSpacerProps.js +1 -0
  9. package/dist/es/bottomnavigation/BottomNavigation.d.ts +1 -1
  10. package/dist/es/bottomnavigation/BottomNavigation.js +1 -1
  11. package/dist/es/bottomnavigation/BottomNavigationItem.d.ts +1 -1
  12. package/dist/es/bottomnavigation/BottomNavigationItem.js +1 -1
  13. package/dist/es/bottomnavigation/BottomNavigationItemProps.js +1 -0
  14. package/dist/es/bottomnavigation/BottomNavigationProps.js +1 -0
  15. package/dist/es/bottomnavigation/models/events.js +1 -0
  16. package/dist/es/bottomnavigation/models/utils.d.ts +16 -16
  17. package/dist/es/breadcrumb/Breadcrumb.d.ts +1 -1
  18. package/dist/es/breadcrumb/BreadcrumbDelimiter.d.ts +1 -1
  19. package/dist/es/breadcrumb/BreadcrumbDelimiter.js +0 -1
  20. package/dist/es/breadcrumb/BreadcrumbLink.d.ts +1 -1
  21. package/dist/es/breadcrumb/BreadcrumbListItem.d.ts +1 -1
  22. package/dist/es/breadcrumb/BreadcrumbListItem.js +0 -1
  23. package/dist/es/breadcrumb/BreadcrumbOrderedList.d.ts +1 -1
  24. package/dist/es/breadcrumb/BreadcrumbOrderedList.js +0 -1
  25. package/dist/es/card/Avatar.js +5 -5
  26. package/dist/es/card/Card.d.ts +1 -1
  27. package/dist/es/card/Card.js +6 -5
  28. package/dist/es/card/CardActions.js +1 -1
  29. package/dist/es/card/interfaces/AvatarProps.js +1 -0
  30. package/dist/es/card/interfaces/CardActionsProps.js +1 -0
  31. package/dist/es/card/interfaces/CardBodyProps.js +1 -0
  32. package/dist/es/card/interfaces/CardFooterProps.js +1 -0
  33. package/dist/es/card/interfaces/CardHandle.js +1 -0
  34. package/dist/es/card/interfaces/CardHeaderProps.js +1 -0
  35. package/dist/es/card/interfaces/CardImageProps.js +1 -0
  36. package/dist/es/card/interfaces/CardProps.js +1 -0
  37. package/dist/es/card/interfaces/CardSubtitleProps.js +1 -0
  38. package/dist/es/card/interfaces/CardTitleProps.js +1 -0
  39. package/dist/es/drawer/Drawer.d.ts +1 -1
  40. package/dist/es/drawer/Drawer.js +9 -4
  41. package/dist/es/drawer/DrawerContent.d.ts +1 -1
  42. package/dist/es/drawer/DrawerItem.d.ts +1 -1
  43. package/dist/es/drawer/DrawerItem.js +6 -4
  44. package/dist/es/drawer/DrawerNavigation.d.ts +1 -1
  45. package/dist/es/drawer/DrawerNavigation.js +2 -2
  46. package/dist/es/drawer/context/DrawerContext.d.ts +1 -1
  47. package/dist/es/drawer/interfaces/DrawerAnimation.js +1 -0
  48. package/dist/es/drawer/interfaces/DrawerContentProps.js +1 -0
  49. package/dist/es/drawer/interfaces/DrawerItemHandle.js +1 -0
  50. package/dist/es/drawer/interfaces/DrawerItemProps.d.ts +1 -1
  51. package/dist/es/drawer/interfaces/DrawerItemProps.js +1 -0
  52. package/dist/es/drawer/interfaces/DrawerNavigationProps.js +1 -0
  53. package/dist/es/drawer/interfaces/DrawerProps.js +1 -0
  54. package/dist/es/drawer/interfaces/DrawerSelectEvent.js +1 -0
  55. package/dist/es/expansionpanel/ExpansionPanel.d.ts +1 -1
  56. package/dist/es/expansionpanel/index.js +1 -0
  57. package/dist/es/expansionpanel/interfaces.js +1 -0
  58. package/dist/es/gridlayout/GridLayout.d.ts +1 -1
  59. package/dist/es/gridlayout/GridLayout.js +3 -3
  60. package/dist/es/gridlayout/GridLayoutItem.d.ts +1 -1
  61. package/dist/es/gridlayout/GridLayoutItem.js +1 -1
  62. package/dist/es/gridlayout/interfaces/GridLayoutColumnProps.js +1 -0
  63. package/dist/es/gridlayout/interfaces/GridLayoutItemProps.js +1 -0
  64. package/dist/es/gridlayout/interfaces/GridLayoutProps.js +1 -0
  65. package/dist/es/gridlayout/interfaces/GridLayoutRowProps.js +1 -0
  66. package/dist/es/main.js +37 -0
  67. package/dist/es/menu/BaseMenuItemInternalProps.js +1 -0
  68. package/dist/es/menu/MenuProps.js +1 -0
  69. package/dist/es/menu/components/Menu.d.ts +2 -2
  70. package/dist/es/menu/components/Menu.js +5 -1
  71. package/dist/es/menu/components/MenuItem.d.ts +1 -1
  72. package/dist/es/menu/components/MenuItem.js +3 -1
  73. package/dist/es/menu/components/MenuItemArrow.js +3 -1
  74. package/dist/es/menu/components/MenuItemInternal.d.ts +4 -4
  75. package/dist/es/menu/components/MenuItemInternal.js +8 -6
  76. package/dist/es/menu/components/MenuItemInternalsList.js +3 -1
  77. package/dist/es/menu/components/MenuItemLink.js +3 -1
  78. package/dist/es/menu/events.js +1 -0
  79. package/dist/es/menu/models/BaseMenuItem.d.ts +4 -0
  80. package/dist/es/menu/models/BaseMenuItem.js +1 -0
  81. package/dist/es/menu/models/MenuItemModel.js +1 -0
  82. package/dist/es/menu/utils/DirectionHolder.d.ts +1 -1
  83. package/dist/es/menu/utils/MouseOverHandler.d.ts +2 -2
  84. package/dist/es/menu/utils/MouseOverHandler.js +3 -2
  85. package/dist/es/menu/utils/misc.js +1 -1
  86. package/dist/es/package-metadata.js +1 -1
  87. package/dist/es/panelbar/PanelBar.d.ts +6 -6
  88. package/dist/es/panelbar/PanelBar.js +19 -8
  89. package/dist/es/panelbar/PanelBarItem.js +6 -4
  90. package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.js +1 -0
  91. package/dist/es/panelbar/interfaces/PanelBarItemProps.js +1 -0
  92. package/dist/es/panelbar/interfaces/PanelBarProps.js +1 -0
  93. package/dist/es/panelbar/interfaces/PanelBarSelectEventArguments.js +1 -0
  94. package/dist/es/panelbar/interfaces/RenderPanelBarItem.js +1 -0
  95. package/dist/es/panelbar/util.js +14 -5
  96. package/dist/es/splitter/Splitter.d.ts +5 -5
  97. package/dist/es/splitter/Splitter.js +20 -17
  98. package/dist/es/splitter/SplitterBar.d.ts +3 -3
  99. package/dist/es/splitter/SplitterBar.js +8 -5
  100. package/dist/es/splitter/SplitterPane.js +3 -1
  101. package/dist/es/stacklayout/StackLayout.d.ts +1 -1
  102. package/dist/es/stacklayout/StackLayout.js +1 -1
  103. package/dist/es/stacklayout/StackLayoutProps.js +1 -0
  104. package/dist/es/stepper/Step.d.ts +1 -1
  105. package/dist/es/stepper/Step.js +8 -6
  106. package/dist/es/stepper/Stepper.d.ts +1 -1
  107. package/dist/es/stepper/Stepper.js +4 -1
  108. package/dist/es/stepper/interfaces/StepChangeEvent.js +1 -0
  109. package/dist/es/stepper/interfaces/StepFocusEvent.js +1 -0
  110. package/dist/es/stepper/interfaces/StepHandle.js +1 -0
  111. package/dist/es/stepper/interfaces/StepProps.js +1 -0
  112. package/dist/es/stepper/interfaces/StepperChangeEvent.js +1 -0
  113. package/dist/es/stepper/interfaces/StepperFocusEvent.js +1 -0
  114. package/dist/es/stepper/interfaces/StepperHandle.js +1 -0
  115. package/dist/es/stepper/interfaces/StepperOnNavigateEvent.js +1 -0
  116. package/dist/es/stepper/interfaces/StepperProps.js +1 -0
  117. package/dist/es/stepper/messages/index.d.ts +1 -1
  118. package/dist/es/tabstrip/TabStrip.js +4 -2
  119. package/dist/es/tabstrip/TabStripContent.d.ts +5 -1
  120. package/dist/es/tabstrip/TabStripContent.js +4 -2
  121. package/dist/es/tabstrip/TabStripNavigation.d.ts +1 -1
  122. package/dist/es/tabstrip/TabStripNavigation.js +3 -1
  123. package/dist/es/tabstrip/TabStripNavigationItem.js +3 -1
  124. package/dist/es/tabstrip/TabStripTab.d.ts +6 -2
  125. package/dist/es/tabstrip/TabStripTab.js +9 -1
  126. package/dist/es/tilelayout/InternalTile.d.ts +4 -3
  127. package/dist/es/tilelayout/InternalTile.js +12 -10
  128. package/dist/es/tilelayout/ResizeHandlers.d.ts +1 -1
  129. package/dist/es/tilelayout/ResizeHandlers.js +3 -1
  130. package/dist/es/tilelayout/TileLayout.d.ts +2 -2
  131. package/dist/es/tilelayout/TileLayout.js +6 -4
  132. package/dist/es/tilelayout/interfaces/main.js +1 -0
  133. package/dist/npm/appbar/AppBar.d.ts +1 -1
  134. package/dist/npm/appbar/AppBar.js +5 -4
  135. package/dist/npm/appbar/AppBarSection.d.ts +1 -1
  136. package/dist/npm/appbar/AppBarSection.js +3 -2
  137. package/dist/npm/appbar/AppBarSpacer.d.ts +1 -1
  138. package/dist/npm/appbar/AppBarSpacer.js +3 -2
  139. package/dist/npm/appbar/interfaces/AppBarSpacerProps.d.ts +4 -0
  140. package/dist/npm/bottomnavigation/BottomNavigation.d.ts +1 -1
  141. package/dist/npm/bottomnavigation/BottomNavigation.js +9 -8
  142. package/dist/npm/bottomnavigation/BottomNavigationItem.d.ts +1 -1
  143. package/dist/npm/bottomnavigation/BottomNavigationItem.js +4 -3
  144. package/dist/npm/bottomnavigation/models/utils.d.ts +16 -16
  145. package/dist/npm/bottomnavigation/models/utils.js +1 -0
  146. package/dist/npm/breadcrumb/Breadcrumb.d.ts +1 -1
  147. package/dist/npm/breadcrumb/Breadcrumb.js +6 -5
  148. package/dist/npm/breadcrumb/BreadcrumbDelimiter.d.ts +1 -1
  149. package/dist/npm/breadcrumb/BreadcrumbDelimiter.js +3 -3
  150. package/dist/npm/breadcrumb/BreadcrumbLink.d.ts +1 -1
  151. package/dist/npm/breadcrumb/BreadcrumbLink.js +6 -5
  152. package/dist/npm/breadcrumb/BreadcrumbListItem.d.ts +1 -1
  153. package/dist/npm/breadcrumb/BreadcrumbListItem.js +3 -3
  154. package/dist/npm/breadcrumb/BreadcrumbOrderedList.d.ts +1 -1
  155. package/dist/npm/breadcrumb/BreadcrumbOrderedList.js +3 -3
  156. package/dist/npm/card/Avatar.js +10 -8
  157. package/dist/npm/card/Card.d.ts +1 -1
  158. package/dist/npm/card/Card.js +8 -6
  159. package/dist/npm/card/CardActions.js +4 -2
  160. package/dist/npm/card/CardBody.js +4 -2
  161. package/dist/npm/card/CardFooter.js +4 -2
  162. package/dist/npm/card/CardHeader.js +4 -2
  163. package/dist/npm/card/CardImage.js +4 -2
  164. package/dist/npm/card/CardSubtitle.js +4 -2
  165. package/dist/npm/card/CardTitle.js +4 -2
  166. package/dist/npm/card/interfaces/Enums.js +1 -0
  167. package/dist/npm/drawer/Drawer.d.ts +1 -1
  168. package/dist/npm/drawer/Drawer.js +13 -7
  169. package/dist/npm/drawer/DrawerContent.d.ts +1 -1
  170. package/dist/npm/drawer/DrawerContent.js +2 -1
  171. package/dist/npm/drawer/DrawerItem.d.ts +1 -1
  172. package/dist/npm/drawer/DrawerItem.js +9 -6
  173. package/dist/npm/drawer/DrawerNavigation.d.ts +1 -1
  174. package/dist/npm/drawer/DrawerNavigation.js +4 -3
  175. package/dist/npm/drawer/context/DrawerContext.d.ts +1 -1
  176. package/dist/npm/drawer/context/DrawerContext.js +1 -0
  177. package/dist/npm/drawer/interfaces/DrawerItemProps.d.ts +1 -1
  178. package/dist/npm/expansionpanel/ExpansionPanel.d.ts +1 -1
  179. package/dist/npm/expansionpanel/ExpansionPanel.js +8 -7
  180. package/dist/npm/expansionpanel/ExpansionPanelContent.js +2 -1
  181. package/dist/npm/expansionpanel/index.js +17 -5
  182. package/dist/npm/gridlayout/GridLayout.d.ts +1 -1
  183. package/dist/npm/gridlayout/GridLayout.js +7 -6
  184. package/dist/npm/gridlayout/GridLayoutItem.d.ts +1 -1
  185. package/dist/npm/gridlayout/GridLayoutItem.js +4 -3
  186. package/dist/npm/main.js +95 -47
  187. package/dist/npm/menu/components/Menu.d.ts +2 -2
  188. package/dist/npm/menu/components/Menu.js +22 -17
  189. package/dist/npm/menu/components/MenuItem.d.ts +1 -1
  190. package/dist/npm/menu/components/MenuItem.js +4 -1
  191. package/dist/npm/menu/components/MenuItemArrow.js +6 -3
  192. package/dist/npm/menu/components/MenuItemInternal.d.ts +4 -4
  193. package/dist/npm/menu/components/MenuItemInternal.js +17 -14
  194. package/dist/npm/menu/components/MenuItemInternalsList.js +5 -2
  195. package/dist/npm/menu/components/MenuItemLink.js +6 -3
  196. package/dist/npm/menu/consts.js +1 -0
  197. package/dist/npm/menu/models/BaseMenuItem.d.ts +4 -0
  198. package/dist/npm/menu/utils/DirectionHolder.d.ts +1 -1
  199. package/dist/npm/menu/utils/DirectionHolder.js +1 -0
  200. package/dist/npm/menu/utils/MouseOverHandler.d.ts +2 -2
  201. package/dist/npm/menu/utils/MouseOverHandler.js +4 -2
  202. package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.js +25 -24
  203. package/dist/npm/menu/utils/hoverDelay.js +1 -0
  204. package/dist/npm/menu/utils/itemsIdsUtils.js +1 -0
  205. package/dist/npm/menu/utils/misc.js +3 -2
  206. package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +3 -2
  207. package/dist/npm/package-metadata.js +2 -1
  208. package/dist/npm/panelbar/PanelBar.d.ts +6 -6
  209. package/dist/npm/panelbar/PanelBar.js +28 -16
  210. package/dist/npm/panelbar/PanelBarItem.js +11 -8
  211. package/dist/npm/panelbar/interfaces/NavigationAction.js +1 -0
  212. package/dist/npm/panelbar/util.js +26 -11
  213. package/dist/npm/splitter/Splitter.d.ts +5 -5
  214. package/dist/npm/splitter/Splitter.js +22 -18
  215. package/dist/npm/splitter/SplitterBar.d.ts +3 -3
  216. package/dist/npm/splitter/SplitterBar.js +12 -8
  217. package/dist/npm/splitter/SplitterPane.js +5 -2
  218. package/dist/npm/stacklayout/StackLayout.d.ts +1 -1
  219. package/dist/npm/stacklayout/StackLayout.js +5 -4
  220. package/dist/npm/stepper/Step.d.ts +1 -1
  221. package/dist/npm/stepper/Step.js +14 -11
  222. package/dist/npm/stepper/Stepper.d.ts +1 -1
  223. package/dist/npm/stepper/Stepper.js +12 -8
  224. package/dist/npm/stepper/contants.js +1 -0
  225. package/dist/npm/stepper/context/StepperContext.js +1 -0
  226. package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.js +2 -0
  227. package/dist/npm/stepper/messages/index.d.ts +1 -1
  228. package/dist/npm/stepper/messages/index.js +2 -1
  229. package/dist/npm/tabstrip/TabStrip.js +7 -4
  230. package/dist/npm/tabstrip/TabStripContent.d.ts +5 -1
  231. package/dist/npm/tabstrip/TabStripContent.js +7 -4
  232. package/dist/npm/tabstrip/TabStripNavigation.d.ts +1 -1
  233. package/dist/npm/tabstrip/TabStripNavigation.js +6 -3
  234. package/dist/npm/tabstrip/TabStripNavigationItem.js +5 -2
  235. package/dist/npm/tabstrip/TabStripTab.d.ts +6 -2
  236. package/dist/npm/tabstrip/TabStripTab.js +10 -1
  237. package/dist/npm/tilelayout/InternalTile.d.ts +4 -3
  238. package/dist/npm/tilelayout/InternalTile.js +14 -11
  239. package/dist/npm/tilelayout/ResizeHandlers.d.ts +1 -1
  240. package/dist/npm/tilelayout/ResizeHandlers.js +4 -1
  241. package/dist/npm/tilelayout/TileLayout.d.ts +2 -2
  242. package/dist/npm/tilelayout/TileLayout.js +10 -7
  243. package/dist/systemjs/kendo-react-layout.js +1 -1
  244. package/package.json +14 -14
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SplitterBar = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_common_1 = require("@progress/kendo-react-common");
18
21
  /**
@@ -22,6 +25,7 @@ var SplitterBar = /** @class */ (function (_super) {
22
25
  __extends(SplitterBar, _super);
23
26
  function SplitterBar(props) {
24
27
  var _this = _super.call(this, props) || this;
28
+ _this.draggable = null;
25
29
  _this.onDrag = function (data, isFirst, isLast) {
26
30
  var event = data.event;
27
31
  var _a = _this.props, onDrag = _a.onDrag, index = _a.index;
@@ -97,7 +101,7 @@ var SplitterBar = /** @class */ (function (_super) {
97
101
  var prev = _this.props.prev;
98
102
  var isCollapsible = prev.collapsible;
99
103
  var isCollapsed = prev.collapsed;
100
- return kendo_react_common_1.classNames('k-icon', (_a = {},
104
+ return (0, kendo_react_common_1.classNames)('k-icon', (_a = {},
101
105
  _a['k-hidden'] = !isCollapsible,
102
106
  _a['k-collapse-prev'] = isCollapsible,
103
107
  _a['k-i-arrow-60-left'] = isCollapsible && isHorizontal && !isCollapsed,
@@ -111,7 +115,7 @@ var SplitterBar = /** @class */ (function (_super) {
111
115
  var next = _this.props.next;
112
116
  var isCollapsible = next.collapsible;
113
117
  var isCollapsed = next.collapsed;
114
- return kendo_react_common_1.classNames('k-icon', (_a = {},
118
+ return (0, kendo_react_common_1.classNames)('k-icon', (_a = {},
115
119
  _a['k-hidden'] = !isCollapsible,
116
120
  _a['k-collapse-next'] = isCollapsible,
117
121
  _a['k-i-arrow-60-right'] = isCollapsible && isHorizontal && !isCollapsed,
@@ -132,7 +136,7 @@ var SplitterBar = /** @class */ (function (_super) {
132
136
  var nearCollapsiblePane = prev.collapsible || next.collapsible;
133
137
  return !betweenResizablePanes && !nearCollapsiblePane;
134
138
  },
135
- enumerable: true,
139
+ enumerable: false,
136
140
  configurable: true
137
141
  });
138
142
  Object.defineProperty(SplitterBar.prototype, "isDraggable", {
@@ -142,23 +146,23 @@ var SplitterBar = /** @class */ (function (_super) {
142
146
  var nearCollapsedPane = prev.collapsed || next.collapsed;
143
147
  return !!betweenResizablePanes && !nearCollapsedPane;
144
148
  },
145
- enumerable: true,
149
+ enumerable: false,
146
150
  configurable: true
147
151
  });
148
152
  Object.defineProperty(SplitterBar.prototype, "isHorizontal", {
149
153
  get: function () {
150
154
  return this.props.orientation === 'horizontal';
151
155
  },
152
- enumerable: true,
156
+ enumerable: false,
153
157
  configurable: true
154
158
  });
155
159
  SplitterBar.prototype.render = function () {
156
- var _this = this;
157
160
  var _a;
161
+ var _this = this;
158
162
  var isDraggable = this.isDraggable;
159
163
  var isStatic = this.isStatic;
160
164
  var isHorizontal = this.isHorizontal;
161
- var barClasses = kendo_react_common_1.classNames('k-splitbar', (_a = {},
165
+ var barClasses = (0, kendo_react_common_1.classNames)('k-splitbar', (_a = {},
162
166
  _a['k-focus'] = this.state.focused,
163
167
  _a['k-splitbar-horizontal'] = isHorizontal,
164
168
  _a['k-splitbar-vertical'] = !isHorizontal,
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SplitterPane = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_common_1 = require("@progress/kendo-react-common");
18
21
  /**
@@ -30,7 +33,7 @@ var SplitterPane = /** @class */ (function (_super) {
30
33
  var style = {
31
34
  flexBasis: size
32
35
  };
33
- var paneClasses = kendo_react_common_1.classNames('k-pane', (_a = {},
36
+ var paneClasses = (0, kendo_react_common_1.classNames)('k-pane', (_a = {},
34
37
  _a['k-state-hidden'] = collapsed,
35
38
  _a['hidden'] = collapsed,
36
39
  _a['k-pane-flex'] = containsSplitter,
@@ -34,4 +34,4 @@ export interface StackLayoutHandle {
34
34
  * ReactDOM.render(<App />, document.querySelector('my-app'));
35
35
  * ```
36
36
  */
37
- export declare const StackLayout: React.ForwardRefExoticComponent<StackLayoutProps & React.RefAttributes<StackLayoutHandle>>;
37
+ export declare const StackLayout: React.ForwardRefExoticComponent<StackLayoutProps & React.RefAttributes<StackLayoutHandle | null>>;
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.StackLayout = void 0;
14
15
  var React = require("react");
15
16
  var PropTypes = require("prop-types");
16
17
  var kendo_licensing_1 = require("@progress/kendo-licensing");
@@ -41,19 +42,19 @@ var kendo_react_common_1 = require("@progress/kendo-react-common");
41
42
  * ```
42
43
  */
43
44
  exports.StackLayout = React.forwardRef(function (props, ref) {
44
- kendo_licensing_1.validatePackage(package_metadata_1.packageMetadata);
45
+ (0, kendo_licensing_1.validatePackage)(package_metadata_1.packageMetadata);
45
46
  var elementRef = React.useRef(null);
46
47
  var getImperativeHandle = React.useCallback(function () { return ({
47
48
  element: elementRef.current
48
49
  }); }, []);
49
50
  React.useImperativeHandle(ref, getImperativeHandle);
50
51
  var className = props.className, style = props.style, id = props.id, children = props.children;
51
- var layoutId = React.useMemo(function () { return kendo_react_common_1.guid(); }, []);
52
+ var layoutId = React.useMemo(function () { return (0, kendo_react_common_1.guid)(); }, []);
52
53
  var orientation = React.useMemo(function () { return props.orientation || defaultProps.orientation; }, [props.orientation]);
53
54
  var isHorizontal = orientation === 'horizontal';
54
55
  var hAlign = React.useMemo(function () { return props.align && props.align.horizontal ? props.align.horizontal : defaultProps.hAlign; }, [props.align]);
55
56
  var vAlign = React.useMemo(function () { return props.align && props.align.vertical ? props.align.vertical : defaultProps.vAlign; }, [props.align]);
56
- var stackLayoutClasses = React.useMemo(function () { return kendo_react_common_1.classNames('k-stack-layout', {
57
+ var stackLayoutClasses = React.useMemo(function () { return (0, kendo_react_common_1.classNames)('k-stack-layout', {
57
58
  'k-hstack': orientation === 'horizontal',
58
59
  'k-vstack': orientation === 'vertical',
59
60
  'k-justify-content-start': isHorizontal && hAlign === 'start' || !isHorizontal && vAlign === 'top',
@@ -65,7 +66,7 @@ exports.StackLayout = React.forwardRef(function (props, ref) {
65
66
  'k-align-items-end': !isHorizontal && hAlign === 'end' || isHorizontal && vAlign === 'bottom',
66
67
  'k-align-items-stretch': !isHorizontal && hAlign === 'stretch' || isHorizontal && vAlign === 'stretch'
67
68
  }, className); }, [orientation, isHorizontal, hAlign, vAlign, className]);
68
- var stackLayoutStyles = __assign({ gap: "" + (typeof props.gap === 'number' ? props.gap + 'px' : props.gap) }, style);
69
+ var stackLayoutStyles = __assign({ gap: "".concat(typeof props.gap === 'number' ? props.gap + 'px' : props.gap) }, style);
69
70
  return (React.createElement("div", { ref: elementRef, className: stackLayoutClasses, style: stackLayoutStyles, id: id || layoutId }, children));
70
71
  });
71
72
  var defaultProps = {
@@ -20,4 +20,4 @@ import { StepProps } from './interfaces/StepProps';
20
20
  * ReactDOM.render(<App />, document.querySelector('my-app'));
21
21
  * ```
22
22
  */
23
- export declare const Step: React.ForwardRefExoticComponent<Pick<StepProps, string | number> & React.RefAttributes<StepHandle>>;
23
+ export declare const Step: React.ForwardRefExoticComponent<Pick<StepProps, keyof StepProps> & React.RefAttributes<StepHandle | null>>;
@@ -15,11 +15,14 @@ var __rest = (this && this.__rest) || function (s, e) {
15
15
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
16
  t[p] = s[p];
17
17
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
19
- t[p[i]] = s[p[i]];
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
20
22
  return t;
21
23
  };
22
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.Step = void 0;
23
26
  var React = require("react");
24
27
  var PropTypes = require("prop-types");
25
28
  var StepperContext_1 = require("./context/StepperContext");
@@ -54,7 +57,7 @@ exports.Step = React.forwardRef(function (props, target) {
54
57
  var elementRef = React.useRef(null);
55
58
  var focusElement = React.useCallback(function () {
56
59
  if (elementRef.current) {
57
- kendo_react_common_1.focusFirstFocusableChild(elementRef.current);
60
+ (0, kendo_react_common_1.focusFirstFocusableChild)(elementRef.current);
58
61
  }
59
62
  }, []);
60
63
  var getImperativeHandle = React.useCallback(function () { return ({
@@ -64,7 +67,7 @@ exports.Step = React.forwardRef(function (props, target) {
64
67
  React.useImperativeHandle(target, getImperativeHandle);
65
68
  var allowClick = !linear || (index === value - 1 || index === value || index === value + 1);
66
69
  var isInLabel = mode === 'labels' || (Boolean(icon) && Boolean(label));
67
- var localizationService = kendo_react_intl_1.useLocalization();
70
+ var localizationService = (0, kendo_react_intl_1.useLocalization)();
68
71
  var localizeMessage = function (message) {
69
72
  return localizationService.toLanguageString(message, messages_1.messages[message]);
70
73
  };
@@ -76,15 +79,15 @@ exports.Step = React.forwardRef(function (props, target) {
76
79
  : contants_1.NO_ANIMATION;
77
80
  var handleClick = React.useCallback(function (event) {
78
81
  if (onChange && !disabled) {
79
- kendo_react_common_1.dispatchEvent(onChange, event, getImperativeHandle(), { value: index });
82
+ (0, kendo_react_common_1.dispatchEvent)(onChange, event, getImperativeHandle(), { value: index });
80
83
  }
81
84
  }, [onChange, value, disabled]);
82
85
  var handleFocus = React.useCallback(function (event) {
83
86
  if (onFocus && !disabled) {
84
- kendo_react_common_1.dispatchEvent(onFocus, event, getImperativeHandle(), undefined);
87
+ (0, kendo_react_common_1.dispatchEvent)(onFocus, event, getImperativeHandle(), undefined);
85
88
  }
86
89
  }, [onFocus, disabled]);
87
- var itemClassNames = React.useMemo(function () { return kendo_react_common_1.classNames('k-step', {
90
+ var itemClassNames = React.useMemo(function () { return (0, kendo_react_common_1.classNames)('k-step', {
88
91
  'k-step-first': index === 0,
89
92
  'k-step-last': numOfSteps && index === numOfSteps - 1,
90
93
  'k-step-done': index < value,
@@ -95,16 +98,16 @@ exports.Step = React.forwardRef(function (props, target) {
95
98
  'k-step-error': isValid !== undefined && !isValid,
96
99
  'k-step-success': isValid
97
100
  }, className); }, [index, numOfSteps, value, current, optional, disabled, focused, isValid, className]);
98
- var itemStyles = React.useMemo(function () { return (__assign({ maxWidth: !isVertical ? "calc(100% / " + numOfSteps + ")" : undefined, maxHeight: isVertical ? "calc(100% / " + numOfSteps + ")" : undefined, pointerEvents: !allowClick ? 'none' : undefined }, style)); }, [isVertical, numOfSteps, style, allowClick]);
101
+ var itemStyles = React.useMemo(function () { return (__assign({ maxWidth: !isVertical ? "calc(100% / ".concat(numOfSteps, ")") : undefined, maxHeight: isVertical ? "calc(100% / ".concat(numOfSteps, ")") : undefined, pointerEvents: !allowClick ? 'none' : undefined }, style)); }, [isVertical, numOfSteps, style, allowClick]);
99
102
  var validationIconClasses = (isValid
100
- ? successIcon ? "" + successIcon : 'k-icon k-i-check'
101
- : errorIcon ? "" + errorIcon : 'k-icon k-i-warning');
103
+ ? successIcon ? "".concat(successIcon) : 'k-icon k-i-check'
104
+ : errorIcon ? "".concat(errorIcon) : 'k-icon k-i-warning');
102
105
  var validationIcons = (React.createElement("span", { className: 'k-step-indicator-icon ' + validationIconClasses, "aria-hidden": "true" }));
103
106
  var stepIndicator = (React.createElement(React.Fragment, null, mode !== 'labels' ?
104
107
  React.createElement("span", { className: "k-step-indicator", "aria-hidden": true, style: { transitionDuration: progressAnimation + 'ms' } }, icon
105
108
  ? !isInLabel && isValid !== undefined
106
109
  ? validationIcons
107
- : React.createElement("span", { className: "k-step-indicator-icon k-icon " + icon })
110
+ : React.createElement("span", { className: "k-step-indicator-icon k-icon ".concat(icon) })
108
111
  : isValid !== undefined
109
112
  ? validationIcons
110
113
  : React.createElement("span", { className: "k-step-indicator-text" }, text ? text : index + 1)) :
@@ -20,4 +20,4 @@ import { StepperHandle } from './interfaces/StepperHandle';
20
20
  * ReactDOM.render(<App />, document.querySelector('my-app'));
21
21
  * ```
22
22
  */
23
- export declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperHandle>>;
23
+ export declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<StepperHandle | null>>;
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Stepper = void 0;
14
15
  var React = require("react");
15
16
  var PropTypes = require("prop-types");
16
17
  var StepperContext_1 = require("./context/StepperContext");
@@ -40,12 +41,12 @@ var package_metadata_1 = require("../package-metadata");
40
41
  * ```
41
42
  */
42
43
  exports.Stepper = React.forwardRef(function (props, target) {
43
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
44
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
44
45
  var animationDuration = props.animationDuration, children = props.children, className = props.className, disabled = props.disabled, errorIcon = props.errorIcon, item = props.item, items = props.items, linear = props.linear, mode = props.mode, orientation = props.orientation, style = props.style, successIcon = props.successIcon, onChange = props.onChange, onFocus = props.onFocus;
45
46
  var elementRef = React.useRef(null);
46
47
  var focusElement = React.useCallback(function () {
47
48
  if (elementRef.current) {
48
- kendo_react_common_1.focusFirstFocusableChild(elementRef.current);
49
+ (0, kendo_react_common_1.focusFirstFocusableChild)(elementRef.current);
49
50
  }
50
51
  }, []);
51
52
  var getImperativeHandle = React.useCallback(function () { return ({
@@ -57,7 +58,7 @@ exports.Stepper = React.forwardRef(function (props, target) {
57
58
  var _a = React.useState(value), focusedIdx = _a[0], setFocusedIdx = _a[1];
58
59
  var numOfSteps = items ? items.length : 0;
59
60
  var isVertical = orientation === 'vertical';
60
- var dir = kendo_react_common_1.useRtl(elementRef, props.dir);
61
+ var dir = (0, kendo_react_common_1.useRtl)(elementRef, props.dir);
61
62
  var animation = typeof animationDuration === 'number'
62
63
  ? animationDuration
63
64
  : animationDuration !== false
@@ -69,7 +70,7 @@ exports.Stepper = React.forwardRef(function (props, target) {
69
70
  var nextIdx = val === value + 1;
70
71
  var allowClick = !linear || (prevIdx || currIdx || nextIdx);
71
72
  if (value !== val && onChange && !disabled && allowClick) {
72
- kendo_react_common_1.dispatchEvent(onChange, event, getImperativeHandle(), { value: val });
73
+ (0, kendo_react_common_1.dispatchEvent)(onChange, event, getImperativeHandle(), { value: val });
73
74
  setFocusedIdx(val);
74
75
  }
75
76
  }, [value, linear, onChange, disabled, setFocusedIdx]);
@@ -80,7 +81,7 @@ exports.Stepper = React.forwardRef(function (props, target) {
80
81
  }, [dispatchChangeEvent]);
81
82
  var handleFocus = React.useCallback(function (event) {
82
83
  if (onFocus && !disabled) {
83
- kendo_react_common_1.dispatchEvent(onFocus, event.syntheticEvent, getImperativeHandle(), undefined);
84
+ (0, kendo_react_common_1.dispatchEvent)(onFocus, event.syntheticEvent, getImperativeHandle(), undefined);
84
85
  }
85
86
  }, [onFocus, disabled]);
86
87
  var handleEnter = React.useCallback(function (event) {
@@ -145,11 +146,11 @@ exports.Stepper = React.forwardRef(function (props, target) {
145
146
  default:
146
147
  }
147
148
  }, [items, setFocusedIdx, focusedIdx, dir, handleEnter]);
148
- var stepperClasses = React.useMemo(function () { return kendo_react_common_1.classNames('k-stepper', {
149
+ var stepperClasses = React.useMemo(function () { return (0, kendo_react_common_1.classNames)('k-stepper', {
149
150
  'k-stepper-linear': linear
150
151
  }, className); }, [linear, className]);
151
152
  var stepperStyles = React.useMemo(function () { return (__assign({ display: 'grid', gridTemplateColumns: !isVertical ? 'repeat(' + numOfSteps * 2 + ', 1fr)' : undefined, gridTemplateRows: isVertical ? 'repeat(' + numOfSteps + ', 1fr)' : undefined }, style)); }, [isVertical, numOfSteps, style]);
152
- var listClasses = React.useMemo(function () { return kendo_react_common_1.classNames('k-step-list', {
153
+ var listClasses = React.useMemo(function () { return (0, kendo_react_common_1.classNames)('k-step-list', {
153
154
  'k-step-list-horizontal': !isVertical,
154
155
  'k-step-list-vertical': isVertical
155
156
  }); }, [isVertical]);
@@ -190,15 +191,18 @@ exports.Stepper = React.forwardRef(function (props, target) {
190
191
  });
191
192
  exports.Stepper.propTypes = {
192
193
  animationDuration: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
194
+ children: PropTypes.any,
193
195
  className: PropTypes.string,
194
196
  dir: PropTypes.string,
195
197
  disabled: PropTypes.bool,
198
+ errorIcon: PropTypes.string,
196
199
  item: PropTypes.any,
197
- items: PropTypes.arrayOf(PropTypes.any),
200
+ items: PropTypes.any,
198
201
  linear: PropTypes.bool,
199
202
  mode: PropTypes.oneOf(['steps', 'labels']),
200
203
  orientation: PropTypes.oneOf(['horizontal', 'vertical']),
201
204
  style: PropTypes.object,
205
+ successIcon: PropTypes.string,
202
206
  value: PropTypes.number.isRequired,
203
207
  onChange: PropTypes.func,
204
208
  onFocus: PropTypes.func
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NO_ANIMATION = exports.DEFAULT_ANIMATION_DURATION = void 0;
3
4
  /**
4
5
  * @hidden
5
6
  */
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StepperContext = void 0;
3
4
  var React = require("react");
4
5
  /**
5
6
  * @hidden
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StepperOnNavigateEvent = void 0;
3
4
  /**
4
5
  * The `StepperOnNavigateEvent` event.
5
6
  */
@@ -8,6 +9,7 @@ var StepperOnNavigateEvent = /** @class */ (function () {
8
9
  * @hidden
9
10
  */
10
11
  function StepperOnNavigateEvent(target, prevIndex, nextIndex) {
12
+ this.syntheticEvent = null;
11
13
  this.target = target;
12
14
  this.prevIndex = prevIndex;
13
15
  this.nextIndex = nextIndex;
@@ -6,5 +6,5 @@ export declare const optionalText = "stepper.optionalText";
6
6
  * @hidden
7
7
  */
8
8
  export declare const messages: {
9
- [optionalText]: string;
9
+ "stepper.optionalText": string;
10
10
  };
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.messages = exports.optionalText = void 0;
4
5
  /**
5
6
  * @hidden
6
7
  */
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TabStrip = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var TabStripNavigation_1 = require("./TabStripNavigation");
@@ -156,7 +159,7 @@ var TabStrip = /** @class */ (function (_super) {
156
159
  }
157
160
  }
158
161
  };
159
- kendo_react_common_1.validatePackage(package_metadata_1.packageMetadata);
162
+ (0, kendo_react_common_1.validatePackage)(package_metadata_1.packageMetadata);
160
163
  return _this;
161
164
  }
162
165
  /**
@@ -164,10 +167,10 @@ var TabStrip = /** @class */ (function (_super) {
164
167
  */
165
168
  TabStrip.prototype.render = function () {
166
169
  var _this = this;
167
- var tabProps = __assign({}, this.props, { children: this.children(), onKeyDown: this.onKeyDown, onSelect: this.onSelect });
170
+ var tabProps = __assign(__assign({}, this.props), { children: this.children(), onKeyDown: this.onKeyDown, onSelect: this.onSelect });
168
171
  var tabPosition = tabProps.tabPosition, _a = tabProps.tabIndex, tabIndex = _a === void 0 ? 0 : _a;
169
172
  var bottom = tabPosition === 'bottom';
170
- var componentClasses = kendo_react_common_1.classNames('k-tabstrip', 'k-floatwrap', {
173
+ var componentClasses = (0, kendo_react_common_1.classNames)('k-tabstrip', 'k-floatwrap', {
171
174
  'k-tabstrip-left': tabPosition === 'left',
172
175
  'k-tabstrip-right': tabPosition === 'right',
173
176
  'k-tabstrip-bottom': tabPosition === 'bottom',
@@ -24,6 +24,10 @@ export interface TabStripContentProps {
24
24
  * @hidden
25
25
  */
26
26
  keepTabsMounted?: boolean;
27
+ /**
28
+ * @hidden
29
+ */
30
+ children?: React.ReactNode;
27
31
  }
28
32
  export declare class TabStripContent extends React.Component<TabStripContentProps, {}> {
29
33
  /**
@@ -31,7 +35,7 @@ export declare class TabStripContent extends React.Component<TabStripContentProp
31
35
  */
32
36
  static propTypes: {
33
37
  animation: PropTypes.Requireable<boolean>;
34
- children: PropTypes.Requireable<PropTypes.ReactElementLike | PropTypes.ReactElementLike[]>;
38
+ children: PropTypes.Requireable<PropTypes.ReactElementLike | (PropTypes.ReactElementLike | null)[]>;
35
39
  selected: PropTypes.Requireable<number>;
36
40
  style: PropTypes.Requireable<object>;
37
41
  };
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TabStripContent = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_animation_1 = require("@progress/kendo-react-animation");
@@ -32,9 +35,9 @@ var TabStripContent = /** @class */ (function (_super) {
32
35
  __extends(TabStripContent, _super);
33
36
  function TabStripContent() {
34
37
  var _this = _super !== null && _super.apply(this, arguments) || this;
35
- _this.contentId = kendo_react_common_1.guid();
38
+ _this.contentId = (0, kendo_react_common_1.guid)();
36
39
  _this.childFactory = function (child) {
37
- return React.cloneElement(child, __assign({}, child.props, { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));
40
+ return React.cloneElement(child, __assign(__assign({}, child.props), { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));
38
41
  };
39
42
  return _this;
40
43
  }
@@ -45,7 +48,7 @@ var TabStripContent = /** @class */ (function (_super) {
45
48
  var _a = this.props, children = _a.children, selected = _a.selected;
46
49
  var selectedTab = children && typeof selected === 'number' &&
47
50
  React.Children.toArray(children)[selected];
48
- var contentClasses = kendo_react_common_1.classNames('k-content', 'k-active', selectedTab && selectedTab.props.contentClassName);
51
+ var contentClasses = (0, kendo_react_common_1.classNames)('k-content', 'k-active', selectedTab && selectedTab.props.contentClassName);
49
52
  return (React.createElement("div", { className: contentClasses, style: this.props.style }, this.renderContent(children)));
50
53
  };
51
54
  TabStripContent.prototype.renderContent = function (children) {
@@ -34,7 +34,7 @@ export declare class TabStripNavigation extends React.Component<TabStripNavigati
34
34
  * @hidden
35
35
  */
36
36
  static propTypes: {
37
- children: PropTypes.Requireable<PropTypes.ReactElementLike | PropTypes.ReactElementLike[]>;
37
+ children: PropTypes.Requireable<PropTypes.ReactElementLike | (PropTypes.ReactElementLike | null)[]>;
38
38
  onSelect: PropTypes.Requireable<(...args: any[]) => any>;
39
39
  onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
40
40
  selected: PropTypes.Requireable<number>;
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TabStripNavigation = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var TabStripNavigationItem_1 = require("./TabStripNavigationItem");
@@ -60,11 +63,11 @@ var TabStripNavigation = /** @class */ (function (_super) {
60
63
  return (React.createElement(TabStripNavigationItem_1.TabStripNavigationItem, __assign({ key: index }, tabProps)));
61
64
  });
62
65
  }
63
- var wrapperClasses = kendo_react_common_1.classNames('k-tabstrip-items-wrapper', {
66
+ var wrapperClasses = (0, kendo_react_common_1.classNames)('k-tabstrip-items-wrapper', {
64
67
  'k-hstack': tabPosition === 'top' || tabPosition === 'bottom',
65
68
  'k-vstack': tabPosition === 'left' || tabPosition === 'right'
66
69
  });
67
- var navClasses = kendo_react_common_1.classNames('k-tabstrip-items', 'k-reset');
70
+ var navClasses = (0, kendo_react_common_1.classNames)('k-tabstrip-items', 'k-reset');
68
71
  return (React.createElement("div", { className: wrapperClasses },
69
72
  React.createElement("ul", { className: navClasses, role: 'tablist', tabIndex: this.props.tabIndex, onKeyDown: onKeyDown }, tabs)));
70
73
  };
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TabStripNavigationItem = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_common_1 = require("@progress/kendo-react-common");
@@ -53,7 +56,7 @@ var TabStripNavigationItem = /** @class */ (function (_super) {
53
56
  'role': 'tab',
54
57
  onClick: !disabled ? this.onClick : undefined
55
58
  };
56
- var itemClasses = kendo_react_common_1.classNames('k-item', (_a = {},
59
+ var itemClasses = (0, kendo_react_common_1.classNames)('k-item', (_a = {},
57
60
  _a['k-first'] = first,
58
61
  _a['k-last'] = last,
59
62
  _a['k-disabled'] = disabled,
@@ -28,7 +28,11 @@ export declare class TabStripTab extends React.Component<TabStripTabProps, {}> {
28
28
  static propTypes: {
29
29
  disabled: PropTypes.Requireable<boolean>;
30
30
  contentClassName: PropTypes.Requireable<string>;
31
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
32
- title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
31
+ children: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
32
+ title: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
33
33
  };
34
+ /**
35
+ * @hidden
36
+ */
37
+ render(): null;
34
38
  }
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TabStripTab = void 0;
16
19
  var React = require("react");
17
20
  var PropTypes = require("prop-types");
18
21
  var TabStripTab = /** @class */ (function (_super) {
@@ -20,6 +23,12 @@ var TabStripTab = /** @class */ (function (_super) {
20
23
  function TabStripTab() {
21
24
  return _super !== null && _super.apply(this, arguments) || this;
22
25
  }
26
+ /**
27
+ * @hidden
28
+ */
29
+ TabStripTab.prototype.render = function () {
30
+ return null;
31
+ };
23
32
  /**
24
33
  * @hidden
25
34
  */