devextreme-react 21.2.6 → 21.2.8

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 (365) hide show
  1. package/accordion.d.ts +6 -6
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +6 -6
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +36 -36
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +48 -48
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +6 -6
  10. package/box.js +2 -2
  11. package/bullet.d.ts +17 -18
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +6 -6
  14. package/button-group.js +2 -2
  15. package/button.d.ts +4 -4
  16. package/button.js +2 -2
  17. package/calendar.d.ts +4 -4
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +187 -184
  20. package/chart.js +2 -2
  21. package/check-box.d.ts +5 -4
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +48 -48
  24. package/circular-gauge.js +2 -2
  25. package/color-box.d.ts +34 -34
  26. package/color-box.js +2 -2
  27. package/context-menu.d.ts +34 -34
  28. package/context-menu.js +2 -2
  29. package/core/component-base.d.ts +3 -2
  30. package/core/component-base.js +10 -2
  31. package/core/component.d.ts +2 -2
  32. package/core/component.js +2 -2
  33. package/core/config.d.ts +2 -2
  34. package/core/config.js +2 -2
  35. package/core/configuration/comparer.d.ts +2 -2
  36. package/core/configuration/comparer.js +2 -2
  37. package/core/configuration/config-node.d.ts +2 -2
  38. package/core/configuration/config-node.js +2 -2
  39. package/core/configuration/react/element.d.ts +2 -2
  40. package/core/configuration/react/element.js +2 -2
  41. package/core/configuration/react/templates.d.ts +2 -2
  42. package/core/configuration/react/templates.js +2 -2
  43. package/core/configuration/react/tree.d.ts +2 -2
  44. package/core/configuration/react/tree.js +2 -2
  45. package/core/configuration/tree.d.ts +2 -2
  46. package/core/configuration/tree.js +2 -2
  47. package/core/configuration/utils.d.ts +2 -2
  48. package/core/configuration/utils.js +2 -2
  49. package/core/dx-template.d.ts +2 -2
  50. package/core/dx-template.js +8 -4
  51. package/core/extension-component.d.ts +2 -2
  52. package/core/extension-component.js +2 -2
  53. package/core/helpers.d.ts +2 -2
  54. package/core/helpers.js +2 -2
  55. package/core/nested-option.d.ts +2 -2
  56. package/core/nested-option.js +2 -2
  57. package/core/options-manager.d.ts +2 -2
  58. package/core/options-manager.js +2 -2
  59. package/core/template-wrapper.d.ts +3 -3
  60. package/core/template-wrapper.js +3 -3
  61. package/core/template.d.ts +2 -2
  62. package/core/template.js +2 -2
  63. package/core/templates-manager.d.ts +2 -2
  64. package/core/templates-manager.js +2 -2
  65. package/core/templates-renderer.d.ts +2 -2
  66. package/core/templates-renderer.js +2 -2
  67. package/core/templates-store.d.ts +4 -3
  68. package/core/templates-store.js +21 -6
  69. package/core/widget-config.d.ts +2 -2
  70. package/core/widget-config.js +2 -2
  71. package/data-grid.d.ts +164 -164
  72. package/data-grid.js +2 -2
  73. package/date-box.d.ts +38 -38
  74. package/date-box.js +2 -2
  75. package/defer-rendering.d.ts +22 -22
  76. package/defer-rendering.js +2 -2
  77. package/diagram.d.ts +56 -56
  78. package/diagram.js +2 -2
  79. package/draggable.d.ts +6 -6
  80. package/draggable.js +2 -2
  81. package/drawer.d.ts +4 -4
  82. package/drawer.js +2 -2
  83. package/drop-down-box.d.ts +34 -34
  84. package/drop-down-box.js +2 -2
  85. package/drop-down-button.d.ts +32 -32
  86. package/drop-down-button.js +2 -2
  87. package/file-manager.d.ts +27 -28
  88. package/file-manager.js +2 -2
  89. package/file-uploader.d.ts +5 -4
  90. package/file-uploader.js +2 -2
  91. package/filter-builder.d.ts +16 -16
  92. package/filter-builder.js +2 -2
  93. package/form.d.ts +48 -48
  94. package/form.js +2 -2
  95. package/funnel.d.ts +58 -58
  96. package/funnel.js +2 -2
  97. package/gallery.d.ts +6 -6
  98. package/gallery.js +2 -2
  99. package/gantt.d.ts +76 -76
  100. package/gantt.js +2 -2
  101. package/html-editor.d.ts +22 -22
  102. package/html-editor.js +2 -2
  103. package/index.d.ts +2 -2
  104. package/index.js +2 -2
  105. package/linear-gauge.d.ts +50 -50
  106. package/linear-gauge.js +2 -2
  107. package/list.d.ts +18 -18
  108. package/list.js +2 -2
  109. package/load-indicator.d.ts +4 -4
  110. package/load-indicator.js +2 -2
  111. package/load-panel.d.ts +27 -26
  112. package/load-panel.js +2 -2
  113. package/lookup.d.ts +36 -36
  114. package/lookup.js +2 -2
  115. package/map.d.ts +17 -16
  116. package/map.js +2 -2
  117. package/menu.d.ts +34 -34
  118. package/menu.js +2 -2
  119. package/multi-view.d.ts +6 -6
  120. package/multi-view.js +2 -2
  121. package/nav-bar.d.ts +6 -6
  122. package/nav-bar.js +2 -2
  123. package/number-box.d.ts +10 -10
  124. package/number-box.js +2 -2
  125. package/package.json +1 -1
  126. package/pie-chart.d.ts +72 -72
  127. package/pie-chart.js +2 -2
  128. package/pivot-grid-field-chooser.d.ts +12 -12
  129. package/pivot-grid-field-chooser.js +2 -2
  130. package/pivot-grid.d.ts +28 -28
  131. package/pivot-grid.js +2 -2
  132. package/polar-chart.d.ts +142 -142
  133. package/polar-chart.js +2 -2
  134. package/popover.d.ts +32 -32
  135. package/popover.js +2 -2
  136. package/popup.d.ts +28 -28
  137. package/popup.js +2 -2
  138. package/progress-bar.d.ts +5 -4
  139. package/progress-bar.js +2 -2
  140. package/radio-group.d.ts +6 -6
  141. package/radio-group.js +2 -2
  142. package/range-selector.d.ts +124 -122
  143. package/range-selector.js +2 -2
  144. package/range-slider.d.ts +11 -10
  145. package/range-slider.js +2 -2
  146. package/recurrence-editor.d.ts +5 -4
  147. package/recurrence-editor.js +2 -2
  148. package/resizable.d.ts +5 -4
  149. package/resizable.js +2 -2
  150. package/responsive-box.d.ts +12 -12
  151. package/responsive-box.js +2 -2
  152. package/sankey.d.ts +42 -42
  153. package/sankey.js +2 -2
  154. package/scheduler.d.ts +14 -14
  155. package/scheduler.js +2 -2
  156. package/scroll-view.d.ts +4 -4
  157. package/scroll-view.js +2 -2
  158. package/select-box.d.ts +36 -36
  159. package/select-box.js +2 -2
  160. package/slide-out-view.d.ts +4 -4
  161. package/slide-out-view.js +2 -2
  162. package/slide-out.d.ts +6 -6
  163. package/slide-out.js +2 -2
  164. package/slider.d.ts +11 -10
  165. package/slider.js +2 -2
  166. package/sortable.d.ts +6 -6
  167. package/sortable.js +2 -2
  168. package/sparkline.d.ts +17 -18
  169. package/sparkline.js +2 -2
  170. package/speed-dial-action.d.ts +4 -4
  171. package/speed-dial-action.js +2 -2
  172. package/switch.d.ts +5 -4
  173. package/switch.js +2 -2
  174. package/tab-panel.d.ts +6 -6
  175. package/tab-panel.js +2 -2
  176. package/tabs.d.ts +6 -6
  177. package/tabs.js +2 -2
  178. package/tag-box.d.ts +36 -36
  179. package/tag-box.js +2 -2
  180. package/text-area.d.ts +5 -4
  181. package/text-area.js +2 -2
  182. package/text-box.d.ts +8 -8
  183. package/text-box.js +2 -2
  184. package/tile-view.d.ts +6 -6
  185. package/tile-view.js +8 -3
  186. package/toast.d.ts +26 -26
  187. package/toast.js +2 -2
  188. package/toolbar.d.ts +6 -6
  189. package/toolbar.js +2 -2
  190. package/tooltip.d.ts +30 -30
  191. package/tooltip.js +2 -2
  192. package/tree-list.d.ts +140 -140
  193. package/tree-list.js +2 -2
  194. package/tree-map.d.ts +46 -46
  195. package/tree-map.js +2 -2
  196. package/tree-view.d.ts +12 -12
  197. package/tree-view.js +2 -2
  198. package/ui/accordion.d.ts +2 -2
  199. package/ui/accordion.js +2 -2
  200. package/ui/action-sheet.d.ts +2 -2
  201. package/ui/action-sheet.js +2 -2
  202. package/ui/autocomplete.d.ts +2 -2
  203. package/ui/autocomplete.js +2 -2
  204. package/ui/bar-gauge.d.ts +2 -2
  205. package/ui/bar-gauge.js +2 -2
  206. package/ui/box.d.ts +2 -2
  207. package/ui/box.js +2 -2
  208. package/ui/bullet.d.ts +2 -2
  209. package/ui/bullet.js +2 -2
  210. package/ui/button-group.d.ts +2 -2
  211. package/ui/button-group.js +2 -2
  212. package/ui/button.d.ts +2 -2
  213. package/ui/button.js +2 -2
  214. package/ui/calendar.d.ts +2 -2
  215. package/ui/calendar.js +2 -2
  216. package/ui/chart.d.ts +2 -2
  217. package/ui/chart.js +2 -2
  218. package/ui/check-box.d.ts +2 -2
  219. package/ui/check-box.js +2 -2
  220. package/ui/circular-gauge.d.ts +2 -2
  221. package/ui/circular-gauge.js +2 -2
  222. package/ui/color-box.d.ts +2 -2
  223. package/ui/color-box.js +2 -2
  224. package/ui/context-menu.d.ts +2 -2
  225. package/ui/context-menu.js +2 -2
  226. package/ui/data-grid.d.ts +2 -2
  227. package/ui/data-grid.js +2 -2
  228. package/ui/date-box.d.ts +2 -2
  229. package/ui/date-box.js +2 -2
  230. package/ui/defer-rendering.d.ts +2 -2
  231. package/ui/defer-rendering.js +2 -2
  232. package/ui/diagram.d.ts +2 -2
  233. package/ui/diagram.js +2 -2
  234. package/ui/draggable.d.ts +2 -2
  235. package/ui/draggable.js +2 -2
  236. package/ui/drawer.d.ts +2 -2
  237. package/ui/drawer.js +2 -2
  238. package/ui/drop-down-box.d.ts +2 -2
  239. package/ui/drop-down-box.js +2 -2
  240. package/ui/drop-down-button.d.ts +2 -2
  241. package/ui/drop-down-button.js +2 -2
  242. package/ui/file-manager.d.ts +2 -2
  243. package/ui/file-manager.js +2 -2
  244. package/ui/file-uploader.d.ts +2 -2
  245. package/ui/file-uploader.js +2 -2
  246. package/ui/filter-builder.d.ts +2 -2
  247. package/ui/filter-builder.js +2 -2
  248. package/ui/form.d.ts +2 -2
  249. package/ui/form.js +2 -2
  250. package/ui/funnel.d.ts +2 -2
  251. package/ui/funnel.js +2 -2
  252. package/ui/gallery.d.ts +2 -2
  253. package/ui/gallery.js +2 -2
  254. package/ui/gantt.d.ts +2 -2
  255. package/ui/gantt.js +2 -2
  256. package/ui/html-editor.d.ts +2 -2
  257. package/ui/html-editor.js +2 -2
  258. package/ui/linear-gauge.d.ts +2 -2
  259. package/ui/linear-gauge.js +2 -2
  260. package/ui/list.d.ts +2 -2
  261. package/ui/list.js +2 -2
  262. package/ui/load-indicator.d.ts +2 -2
  263. package/ui/load-indicator.js +2 -2
  264. package/ui/load-panel.d.ts +2 -2
  265. package/ui/load-panel.js +2 -2
  266. package/ui/lookup.d.ts +2 -2
  267. package/ui/lookup.js +2 -2
  268. package/ui/map.d.ts +2 -2
  269. package/ui/map.js +2 -2
  270. package/ui/menu.d.ts +2 -2
  271. package/ui/menu.js +2 -2
  272. package/ui/multi-view.d.ts +2 -2
  273. package/ui/multi-view.js +2 -2
  274. package/ui/nav-bar.d.ts +2 -2
  275. package/ui/nav-bar.js +2 -2
  276. package/ui/number-box.d.ts +2 -2
  277. package/ui/number-box.js +2 -2
  278. package/ui/pie-chart.d.ts +2 -2
  279. package/ui/pie-chart.js +2 -2
  280. package/ui/pivot-grid-field-chooser.d.ts +2 -2
  281. package/ui/pivot-grid-field-chooser.js +2 -2
  282. package/ui/pivot-grid.d.ts +2 -2
  283. package/ui/pivot-grid.js +2 -2
  284. package/ui/polar-chart.d.ts +2 -2
  285. package/ui/polar-chart.js +2 -2
  286. package/ui/popover.d.ts +2 -2
  287. package/ui/popover.js +2 -2
  288. package/ui/popup.d.ts +2 -2
  289. package/ui/popup.js +2 -2
  290. package/ui/progress-bar.d.ts +2 -2
  291. package/ui/progress-bar.js +2 -2
  292. package/ui/radio-group.d.ts +2 -2
  293. package/ui/radio-group.js +2 -2
  294. package/ui/range-selector.d.ts +2 -2
  295. package/ui/range-selector.js +2 -2
  296. package/ui/range-slider.d.ts +2 -2
  297. package/ui/range-slider.js +2 -2
  298. package/ui/recurrence-editor.d.ts +2 -2
  299. package/ui/recurrence-editor.js +2 -2
  300. package/ui/resizable.d.ts +2 -2
  301. package/ui/resizable.js +2 -2
  302. package/ui/responsive-box.d.ts +2 -2
  303. package/ui/responsive-box.js +2 -2
  304. package/ui/sankey.d.ts +2 -2
  305. package/ui/sankey.js +2 -2
  306. package/ui/scheduler.d.ts +2 -2
  307. package/ui/scheduler.js +2 -2
  308. package/ui/scroll-view.d.ts +2 -2
  309. package/ui/scroll-view.js +2 -2
  310. package/ui/select-box.d.ts +2 -2
  311. package/ui/select-box.js +2 -2
  312. package/ui/slide-out-view.d.ts +2 -2
  313. package/ui/slide-out-view.js +2 -2
  314. package/ui/slide-out.d.ts +2 -2
  315. package/ui/slide-out.js +2 -2
  316. package/ui/slider.d.ts +2 -2
  317. package/ui/slider.js +2 -2
  318. package/ui/sortable.d.ts +2 -2
  319. package/ui/sortable.js +2 -2
  320. package/ui/sparkline.d.ts +2 -2
  321. package/ui/sparkline.js +2 -2
  322. package/ui/speed-dial-action.d.ts +2 -2
  323. package/ui/speed-dial-action.js +2 -2
  324. package/ui/switch.d.ts +2 -2
  325. package/ui/switch.js +2 -2
  326. package/ui/tab-panel.d.ts +2 -2
  327. package/ui/tab-panel.js +2 -2
  328. package/ui/tabs.d.ts +2 -2
  329. package/ui/tabs.js +2 -2
  330. package/ui/tag-box.d.ts +2 -2
  331. package/ui/tag-box.js +2 -2
  332. package/ui/text-area.d.ts +2 -2
  333. package/ui/text-area.js +2 -2
  334. package/ui/text-box.d.ts +2 -2
  335. package/ui/text-box.js +2 -2
  336. package/ui/tile-view.d.ts +2 -2
  337. package/ui/tile-view.js +2 -2
  338. package/ui/toast.d.ts +2 -2
  339. package/ui/toast.js +2 -2
  340. package/ui/toolbar.d.ts +2 -2
  341. package/ui/toolbar.js +2 -2
  342. package/ui/tooltip.d.ts +2 -2
  343. package/ui/tooltip.js +2 -2
  344. package/ui/tree-list.d.ts +2 -2
  345. package/ui/tree-list.js +2 -2
  346. package/ui/tree-map.d.ts +2 -2
  347. package/ui/tree-map.js +2 -2
  348. package/ui/tree-view.d.ts +2 -2
  349. package/ui/tree-view.js +2 -2
  350. package/ui/validation-group.d.ts +2 -2
  351. package/ui/validation-group.js +2 -2
  352. package/ui/validation-summary.d.ts +2 -2
  353. package/ui/validation-summary.js +2 -2
  354. package/ui/validator.d.ts +2 -2
  355. package/ui/validator.js +2 -2
  356. package/ui/vector-map.d.ts +2 -2
  357. package/ui/vector-map.js +2 -2
  358. package/validation-group.d.ts +4 -4
  359. package/validation-group.js +2 -2
  360. package/validation-summary.d.ts +6 -6
  361. package/validation-summary.js +2 -2
  362. package/validator.d.ts +25 -24
  363. package/validator.js +2 -2
  364. package/vector-map.d.ts +58 -58
  365. package/vector-map.js +2 -2
package/menu.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/menu";
16
16
  import dxMenu, { Properties } from "devextreme/ui/menu";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- interface IMenuOptions<TKey = any> extends Properties<TKey>, IHtmlOptions {
19
+ declare type IMenuOptions<TKey = any> = React.PropsWithChildren<Properties<TKey> & IHtmlOptions & {
20
20
  dataSource?: Properties<TKey>["dataSource"];
21
21
  itemRender?: (...params: any) => React.ReactNode;
22
22
  itemComponent?: React.ComponentType<any>;
@@ -25,7 +25,7 @@ interface IMenuOptions<TKey = any> extends Properties<TKey>, IHtmlOptions {
25
25
  defaultSelectedItem?: any;
26
26
  onItemsChange?: (value: any) => void;
27
27
  onSelectedItemChange?: (value: any) => void;
28
- }
28
+ }>;
29
29
  declare class Menu<TKey = any> extends BaseComponent<IMenuOptions<TKey>> {
30
30
  get instance(): dxMenu<TKey>;
31
31
  protected _WidgetClass: typeof dxMenu;
@@ -60,10 +60,10 @@ declare class Menu<TKey = any> extends BaseComponent<IMenuOptions<TKey>> {
60
60
  keyFn: string;
61
61
  }[];
62
62
  }
63
- interface IAnimationProps {
63
+ declare type IAnimationProps = React.PropsWithChildren<{
64
64
  hide?: any;
65
65
  show?: any;
66
- }
66
+ }>;
67
67
  declare class Animation extends NestedOption<IAnimationProps> {
68
68
  static OptionName: string;
69
69
  static ExpectedChildren: {
@@ -77,41 +77,41 @@ declare class Animation extends NestedOption<IAnimationProps> {
77
77
  };
78
78
  };
79
79
  }
80
- interface IAtProps {
80
+ declare type IAtProps = React.PropsWithChildren<{
81
81
  x?: any;
82
82
  y?: any;
83
- }
83
+ }>;
84
84
  declare class At extends NestedOption<IAtProps> {
85
85
  static OptionName: string;
86
86
  }
87
- interface IBoundaryOffsetProps {
87
+ declare type IBoundaryOffsetProps = React.PropsWithChildren<{
88
88
  x?: any;
89
89
  y?: any;
90
- }
90
+ }>;
91
91
  declare class BoundaryOffset extends NestedOption<IBoundaryOffsetProps> {
92
92
  static OptionName: string;
93
93
  }
94
- interface ICollisionProps {
94
+ declare type ICollisionProps = React.PropsWithChildren<{
95
95
  x?: any;
96
96
  y?: any;
97
- }
97
+ }>;
98
98
  declare class Collision extends NestedOption<ICollisionProps> {
99
99
  static OptionName: string;
100
100
  }
101
- interface IDelayProps {
101
+ declare type IDelayProps = React.PropsWithChildren<{
102
102
  hide?: any;
103
103
  show?: any;
104
- }
104
+ }>;
105
105
  declare class Delay extends NestedOption<IDelayProps> {
106
106
  static OptionName: string;
107
107
  }
108
- interface IFromProps {
108
+ declare type IFromProps = React.PropsWithChildren<{
109
109
  left?: any;
110
110
  opacity?: any;
111
111
  position?: any;
112
112
  scale?: any;
113
113
  top?: any;
114
- }
114
+ }>;
115
115
  declare class From extends NestedOption<IFromProps> {
116
116
  static OptionName: string;
117
117
  static ExpectedChildren: {
@@ -121,7 +121,7 @@ declare class From extends NestedOption<IFromProps> {
121
121
  };
122
122
  };
123
123
  }
124
- interface IHideProps {
124
+ declare type IHideProps = React.PropsWithChildren<{
125
125
  complete?: any;
126
126
  delay?: any;
127
127
  direction?: any;
@@ -132,7 +132,7 @@ interface IHideProps {
132
132
  start?: any;
133
133
  to?: any;
134
134
  type?: any;
135
- }
135
+ }>;
136
136
  declare class Hide extends NestedOption<IHideProps> {
137
137
  static OptionName: string;
138
138
  static ExpectedChildren: {
@@ -146,7 +146,7 @@ declare class Hide extends NestedOption<IHideProps> {
146
146
  };
147
147
  };
148
148
  }
149
- interface IItemProps {
149
+ declare type IItemProps = React.PropsWithChildren<{
150
150
  beginGroup?: any;
151
151
  closeMenuOnClick?: any;
152
152
  disabled?: any;
@@ -161,7 +161,7 @@ interface IItemProps {
161
161
  render?: (...params: any) => React.ReactNode;
162
162
  component?: React.ComponentType<any>;
163
163
  keyFn?: (data: any) => string;
164
- }
164
+ }>;
165
165
  declare class Item extends NestedOption<IItemProps> {
166
166
  static OptionName: string;
167
167
  static IsCollectionItem: boolean;
@@ -172,21 +172,21 @@ declare class Item extends NestedOption<IItemProps> {
172
172
  keyFn: string;
173
173
  }[];
174
174
  }
175
- interface IMyProps {
175
+ declare type IMyProps = React.PropsWithChildren<{
176
176
  x?: any;
177
177
  y?: any;
178
- }
178
+ }>;
179
179
  declare class My extends NestedOption<IMyProps> {
180
180
  static OptionName: string;
181
181
  }
182
- interface IOffsetProps {
182
+ declare type IOffsetProps = React.PropsWithChildren<{
183
183
  x?: any;
184
184
  y?: any;
185
- }
185
+ }>;
186
186
  declare class Offset extends NestedOption<IOffsetProps> {
187
187
  static OptionName: string;
188
188
  }
189
- interface IPositionProps {
189
+ declare type IPositionProps = React.PropsWithChildren<{
190
190
  at?: object | string | {
191
191
  x?: any;
192
192
  y?: any;
@@ -209,7 +209,7 @@ interface IPositionProps {
209
209
  x?: any;
210
210
  y?: any;
211
211
  };
212
- }
212
+ }>;
213
213
  declare class Position extends NestedOption<IPositionProps> {
214
214
  static OptionName: string;
215
215
  static ExpectedChildren: {
@@ -235,7 +235,7 @@ declare class Position extends NestedOption<IPositionProps> {
235
235
  };
236
236
  };
237
237
  }
238
- interface IShowProps {
238
+ declare type IShowProps = React.PropsWithChildren<{
239
239
  complete?: any;
240
240
  delay?: any;
241
241
  direction?: any;
@@ -246,17 +246,17 @@ interface IShowProps {
246
246
  start?: any;
247
247
  to?: any;
248
248
  type?: any;
249
- }
249
+ }>;
250
250
  declare class Show extends NestedOption<IShowProps> {
251
251
  static OptionName: string;
252
252
  }
253
- interface IShowFirstSubmenuModeProps {
253
+ declare type IShowFirstSubmenuModeProps = React.PropsWithChildren<{
254
254
  delay?: number | object | {
255
255
  hide?: any;
256
256
  show?: any;
257
257
  };
258
258
  name?: any;
259
- }
259
+ }>;
260
260
  declare class ShowFirstSubmenuMode extends NestedOption<IShowFirstSubmenuModeProps> {
261
261
  static OptionName: string;
262
262
  static ExpectedChildren: {
@@ -266,13 +266,13 @@ declare class ShowFirstSubmenuMode extends NestedOption<IShowFirstSubmenuModePro
266
266
  };
267
267
  };
268
268
  }
269
- interface IShowSubmenuModeProps {
269
+ declare type IShowSubmenuModeProps = React.PropsWithChildren<{
270
270
  delay?: number | object | {
271
271
  hide?: any;
272
272
  show?: any;
273
273
  };
274
274
  name?: any;
275
- }
275
+ }>;
276
276
  declare class ShowSubmenuMode extends NestedOption<IShowSubmenuModeProps> {
277
277
  static OptionName: string;
278
278
  static ExpectedChildren: {
@@ -282,13 +282,13 @@ declare class ShowSubmenuMode extends NestedOption<IShowSubmenuModeProps> {
282
282
  };
283
283
  };
284
284
  }
285
- interface IToProps {
285
+ declare type IToProps = React.PropsWithChildren<{
286
286
  left?: any;
287
287
  opacity?: any;
288
288
  position?: any;
289
289
  scale?: any;
290
290
  top?: any;
291
- }
291
+ }>;
292
292
  declare class To extends NestedOption<IToProps> {
293
293
  static OptionName: string;
294
294
  }
package/menu.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/multi-view.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/multi_view";
16
16
  import dxMultiView, { Properties } from "devextreme/ui/multi_view";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- interface IMultiViewOptions<TItem = any, TKey = any> extends Properties<TItem, TKey>, IHtmlOptions {
19
+ declare type IMultiViewOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
20
20
  dataSource?: Properties<TItem, TKey>["dataSource"];
21
21
  itemRender?: (...params: any) => React.ReactNode;
22
22
  itemComponent?: React.ComponentType<any>;
@@ -27,7 +27,7 @@ interface IMultiViewOptions<TItem = any, TKey = any> extends Properties<TItem, T
27
27
  onItemsChange?: (value: any) => void;
28
28
  onSelectedIndexChange?: (value: any) => void;
29
29
  onSelectedItemChange?: (value: any) => void;
30
- }
30
+ }>;
31
31
  declare class MultiView<TItem = any, TKey = any> extends BaseComponent<IMultiViewOptions<TItem, TKey>> {
32
32
  get instance(): dxMultiView<TItem, TKey>;
33
33
  protected _WidgetClass: typeof dxMultiView;
@@ -51,7 +51,7 @@ declare class MultiView<TItem = any, TKey = any> extends BaseComponent<IMultiVie
51
51
  keyFn: string;
52
52
  }[];
53
53
  }
54
- interface IItemProps {
54
+ declare type IItemProps = React.PropsWithChildren<{
55
55
  disabled?: any;
56
56
  html?: any;
57
57
  template?: any;
@@ -60,7 +60,7 @@ interface IItemProps {
60
60
  render?: (...params: any) => React.ReactNode;
61
61
  component?: React.ComponentType<any>;
62
62
  keyFn?: (data: any) => string;
63
- }
63
+ }>;
64
64
  declare class Item extends NestedOption<IItemProps> {
65
65
  static OptionName: string;
66
66
  static IsCollectionItem: boolean;
package/multi-view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/nav-bar.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/nav_bar";
16
16
  import dxNavBar, { Properties } from "devextreme/ui/nav_bar";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- interface INavBarOptions<TItem = any, TKey = any> extends Properties<TItem, TKey>, IHtmlOptions {
19
+ declare type INavBarOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
20
20
  dataSource?: Properties<TItem, TKey>["dataSource"];
21
21
  itemRender?: (...params: any) => React.ReactNode;
22
22
  itemComponent?: React.ComponentType<any>;
@@ -31,7 +31,7 @@ interface INavBarOptions<TItem = any, TKey = any> extends Properties<TItem, TKey
31
31
  onSelectedItemChange?: (value: any) => void;
32
32
  onSelectedItemKeysChange?: (value: any) => void;
33
33
  onSelectedItemsChange?: (value: any) => void;
34
- }
34
+ }>;
35
35
  declare class NavBar<TItem = any, TKey = any> extends BaseComponent<INavBarOptions<TItem, TKey>> {
36
36
  get instance(): dxNavBar<TItem, TKey>;
37
37
  protected _WidgetClass: typeof dxNavBar;
@@ -57,7 +57,7 @@ declare class NavBar<TItem = any, TKey = any> extends BaseComponent<INavBarOptio
57
57
  keyFn: string;
58
58
  }[];
59
59
  }
60
- interface IItemProps {
60
+ declare type IItemProps = React.PropsWithChildren<{
61
61
  badge?: any;
62
62
  disabled?: any;
63
63
  html?: any;
@@ -68,7 +68,7 @@ interface IItemProps {
68
68
  render?: (...params: any) => React.ReactNode;
69
69
  component?: React.ComponentType<any>;
70
70
  keyFn?: (data: any) => string;
71
- }
71
+ }>;
72
72
  declare class Item extends NestedOption<IItemProps> {
73
73
  static OptionName: string;
74
74
  static IsCollectionItem: boolean;
package/nav-bar.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/number-box.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,10 +15,10 @@
15
15
  import dxNumberBox, { Properties } from "devextreme/ui/number_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface INumberBoxOptions extends Properties, IHtmlOptions {
18
+ declare type INumberBoxOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  defaultValue?: any;
20
20
  onValueChange?: (value: any) => void;
21
- }
21
+ }>;
22
22
  declare class NumberBox extends BaseComponent<INumberBoxOptions> {
23
23
  get instance(): dxNumberBox;
24
24
  protected _WidgetClass: typeof dxNumberBox;
@@ -38,11 +38,11 @@ declare class NumberBox extends BaseComponent<INumberBoxOptions> {
38
38
  };
39
39
  };
40
40
  }
41
- interface IButtonProps {
41
+ declare type IButtonProps = React.PropsWithChildren<{
42
42
  location?: any;
43
43
  name?: any;
44
44
  options?: any;
45
- }
45
+ }>;
46
46
  declare class Button extends NestedOption<IButtonProps> {
47
47
  static OptionName: string;
48
48
  static IsCollectionItem: boolean;
@@ -53,17 +53,17 @@ declare class Button extends NestedOption<IButtonProps> {
53
53
  };
54
54
  };
55
55
  }
56
- interface IFormatProps {
56
+ declare type IFormatProps = React.PropsWithChildren<{
57
57
  currency?: any;
58
58
  formatter?: any;
59
59
  parser?: any;
60
60
  precision?: any;
61
61
  type?: any;
62
- }
62
+ }>;
63
63
  declare class Format extends NestedOption<IFormatProps> {
64
64
  static OptionName: string;
65
65
  }
66
- interface IOptionsProps {
66
+ declare type IOptionsProps = React.PropsWithChildren<{
67
67
  accessKey?: any;
68
68
  activeStateEnabled?: any;
69
69
  bindingOptions?: any;
@@ -94,7 +94,7 @@ interface IOptionsProps {
94
94
  render?: (...params: any) => React.ReactNode;
95
95
  component?: React.ComponentType<any>;
96
96
  keyFn?: (data: any) => string;
97
- }
97
+ }>;
98
98
  declare class Options extends NestedOption<IOptionsProps> {
99
99
  static OptionName: string;
100
100
  static TemplateProps: {
package/number-box.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"Developer Express Inc.","name":"devextreme-react","version":"21.2.6","description":"DevExtreme React UI and Visualization Components","repository":{"type":"git","url":"https://github.com/DevExpress/devextreme-react.git"},"main":"index.js","types":"index.d.ts","scripts":{"clean":"gulp clean","build":"npm run clean && gulp generate","pack":"npm run clean && gulp npm.pack","test":"npm run build && jest"},"keywords":["react","devextreme","devexpress"],"license":"MIT","peerDependencies":{"devextreme":"~21.2.6","react":"^16.2.0 || ^17.0.0","react-dom":"^16.2.0 || ^17.0.0"},"dependencies":{"prop-types":"^15.6.1"},"devDependencies":{"@testing-library/react":"^11.2.5","@testing-library/user-event":"^13.0.1","@types/enzyme":"^3.1.14","@types/enzyme-adapter-react-16":"^1.0.2","@types/jest":"^22.1.2","@types/react":"^16.9.2","@types/react-dom":"^16.0.9","del":"^3.0.0","devextreme":"~21.2.6","devextreme-react-generator":"^1.3.0","enzyme":"^3.7.0","enzyme-adapter-react-16":"^1.6.0","gulp":"^4.0.0","gulp-header":"^2.0.5","gulp-shell":"^0.6.5","gulp-typescript":"^5.0.0","jest":"^24.8.0","react":"^16.5.2","react-dom":"^16.5.2","ts-jest":"^24.0.2","typescript":"^3.9.7"},"resolutions":{"@types/react":"^16.9.2"}}
1
+ {"author":"Developer Express Inc.","name":"devextreme-react","version":"21.2.8","description":"DevExtreme React UI and Visualization Components","repository":{"type":"git","url":"https://github.com/DevExpress/devextreme-react.git"},"main":"index.js","types":"index.d.ts","scripts":{"clean":"gulp clean","build":"npm run clean && gulp generate","pack":"npm run clean && gulp npm.pack","test":"npm run build && jest"},"keywords":["react","devextreme","devexpress"],"license":"MIT","peerDependencies":{"devextreme":"~21.2.8","react":"^16.2.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.2.0 || ^17.0.0 || ^18.0.0"},"dependencies":{"prop-types":"^15.6.1"},"devDependencies":{"@testing-library/react":"^11.2.5","@testing-library/user-event":"^13.0.1","@types/enzyme":"^3.1.14","@types/enzyme-adapter-react-16":"^1.0.2","@types/jest":"^22.1.2","@types/react":"^16.9.2","@types/react-dom":"^16.0.9","del":"^3.0.0","devextreme":"~21.2.8","devextreme-react-generator":"^1.3.0","enzyme":"^3.7.0","enzyme-adapter-react-16":"^1.6.0","gulp":"^4.0.0","gulp-header":"^2.0.5","gulp-shell":"^0.6.5","gulp-typescript":"^5.0.0","jest":"^24.8.0","react":"^16.5.2","react-dom":"^16.5.2","ts-jest":"^24.0.2","typescript":"^3.9.7"},"resolutions":{"@types/react":"^16.9.2"}}