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/diagram.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,7 +15,7 @@
15
15
  import dxDiagram, { Properties } from "devextreme/ui/diagram";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IDiagramOptions extends Properties, IHtmlOptions {
18
+ declare type IDiagramOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  customShapeRender?: (...params: any) => React.ReactNode;
20
20
  customShapeComponent?: React.ComponentType<any>;
21
21
  customShapeKeyFn?: (data: any) => string;
@@ -28,7 +28,7 @@ interface IDiagramOptions extends Properties, IHtmlOptions {
28
28
  onGridSizeChange?: (value: any) => void;
29
29
  onPageSizeChange?: (value: any) => void;
30
30
  onZoomLevelChange?: (value: any) => void;
31
- }
31
+ }>;
32
32
  declare class Diagram extends BaseComponent<IDiagramOptions> {
33
33
  get instance(): dxDiagram;
34
34
  protected _WidgetClass: typeof dxDiagram;
@@ -112,47 +112,47 @@ declare class Diagram extends BaseComponent<IDiagramOptions> {
112
112
  keyFn: string;
113
113
  }[];
114
114
  }
115
- interface IAutoLayoutProps {
115
+ declare type IAutoLayoutProps = React.PropsWithChildren<{
116
116
  orientation?: any;
117
117
  type?: any;
118
- }
118
+ }>;
119
119
  declare class AutoLayout extends NestedOption<IAutoLayoutProps> {
120
120
  static OptionName: string;
121
121
  }
122
- interface ICommandProps {
122
+ declare type ICommandProps = React.PropsWithChildren<{
123
123
  icon?: any;
124
124
  items?: any;
125
125
  location?: any;
126
126
  name?: any;
127
127
  text?: any;
128
- }
128
+ }>;
129
129
  declare class Command extends NestedOption<ICommandProps> {
130
130
  static OptionName: string;
131
131
  static IsCollectionItem: boolean;
132
132
  }
133
- interface ICommandItemProps {
133
+ declare type ICommandItemProps = React.PropsWithChildren<{
134
134
  icon?: any;
135
135
  items?: any;
136
136
  location?: any;
137
137
  name?: any;
138
138
  text?: any;
139
- }
139
+ }>;
140
140
  declare class CommandItem extends NestedOption<ICommandItemProps> {
141
141
  static OptionName: string;
142
142
  static IsCollectionItem: boolean;
143
143
  }
144
- interface IConnectionPointProps {
144
+ declare type IConnectionPointProps = React.PropsWithChildren<{
145
145
  x?: any;
146
146
  y?: any;
147
- }
147
+ }>;
148
148
  declare class ConnectionPoint extends NestedOption<IConnectionPointProps> {
149
149
  static OptionName: string;
150
150
  static IsCollectionItem: boolean;
151
151
  }
152
- interface IContextMenuProps {
152
+ declare type IContextMenuProps = React.PropsWithChildren<{
153
153
  commands?: any;
154
154
  enabled?: any;
155
- }
155
+ }>;
156
156
  declare class ContextMenu extends NestedOption<IContextMenuProps> {
157
157
  static OptionName: string;
158
158
  static ExpectedChildren: {
@@ -162,18 +162,18 @@ declare class ContextMenu extends NestedOption<IContextMenuProps> {
162
162
  };
163
163
  };
164
164
  }
165
- interface IContextToolboxProps {
165
+ declare type IContextToolboxProps = React.PropsWithChildren<{
166
166
  category?: any;
167
167
  displayMode?: any;
168
168
  enabled?: any;
169
169
  shapeIconsPerRow?: any;
170
170
  shapes?: any;
171
171
  width?: any;
172
- }
172
+ }>;
173
173
  declare class ContextToolbox extends NestedOption<IContextToolboxProps> {
174
174
  static OptionName: string;
175
175
  }
176
- interface ICustomShapeProps {
176
+ declare type ICustomShapeProps = React.PropsWithChildren<{
177
177
  allowEditImage?: any;
178
178
  allowEditText?: any;
179
179
  allowResize?: any;
@@ -221,7 +221,7 @@ interface ICustomShapeProps {
221
221
  toolboxRender?: (...params: any) => React.ReactNode;
222
222
  toolboxComponent?: React.ComponentType<any>;
223
223
  toolboxKeyFn?: (data: any) => string;
224
- }
224
+ }>;
225
225
  declare class CustomShape extends NestedOption<ICustomShapeProps> {
226
226
  static OptionName: string;
227
227
  static IsCollectionItem: boolean;
@@ -238,7 +238,7 @@ declare class CustomShape extends NestedOption<ICustomShapeProps> {
238
238
  keyFn: string;
239
239
  }[];
240
240
  }
241
- interface IDefaultItemPropertiesProps {
241
+ declare type IDefaultItemPropertiesProps = React.PropsWithChildren<{
242
242
  connectorLineEnd?: any;
243
243
  connectorLineStart?: any;
244
244
  connectorLineType?: any;
@@ -248,11 +248,11 @@ interface IDefaultItemPropertiesProps {
248
248
  shapeMinWidth?: any;
249
249
  style?: any;
250
250
  textStyle?: any;
251
- }
251
+ }>;
252
252
  declare class DefaultItemProperties extends NestedOption<IDefaultItemPropertiesProps> {
253
253
  static OptionName: string;
254
254
  }
255
- interface IEdgesProps {
255
+ declare type IEdgesProps = React.PropsWithChildren<{
256
256
  customDataExpr?: any;
257
257
  dataSource?: any;
258
258
  fromExpr?: any;
@@ -269,11 +269,11 @@ interface IEdgesProps {
269
269
  toLineEndExpr?: any;
270
270
  toPointIndexExpr?: any;
271
271
  zIndexExpr?: any;
272
- }
272
+ }>;
273
273
  declare class Edges extends NestedOption<IEdgesProps> {
274
274
  static OptionName: string;
275
275
  }
276
- interface IEditingProps {
276
+ declare type IEditingProps = React.PropsWithChildren<{
277
277
  allowAddShape?: any;
278
278
  allowChangeConnection?: any;
279
279
  allowChangeConnectorPoints?: any;
@@ -283,45 +283,45 @@ interface IEditingProps {
283
283
  allowDeleteShape?: any;
284
284
  allowMoveShape?: any;
285
285
  allowResizeShape?: any;
286
- }
286
+ }>;
287
287
  declare class Editing extends NestedOption<IEditingProps> {
288
288
  static OptionName: string;
289
289
  }
290
- interface IExportProps {
290
+ declare type IExportProps = React.PropsWithChildren<{
291
291
  fileName?: any;
292
292
  proxyUrl?: any;
293
- }
293
+ }>;
294
294
  declare class Export extends NestedOption<IExportProps> {
295
295
  static OptionName: string;
296
296
  }
297
- interface IGridSizeProps {
297
+ declare type IGridSizeProps = React.PropsWithChildren<{
298
298
  items?: any;
299
299
  value?: any;
300
300
  defaultValue?: any;
301
301
  onValueChange?: (value: any) => void;
302
- }
302
+ }>;
303
303
  declare class GridSize extends NestedOption<IGridSizeProps> {
304
304
  static OptionName: string;
305
305
  static DefaultsProps: {
306
306
  defaultValue: string;
307
307
  };
308
308
  }
309
- interface IGroupProps {
309
+ declare type IGroupProps = React.PropsWithChildren<{
310
310
  commands?: any;
311
311
  title?: any;
312
312
  category?: any;
313
313
  displayMode?: any;
314
314
  expanded?: any;
315
315
  shapes?: any;
316
- }
316
+ }>;
317
317
  declare class Group extends NestedOption<IGroupProps> {
318
318
  static OptionName: string;
319
319
  static IsCollectionItem: boolean;
320
320
  }
321
- interface IHistoryToolbarProps {
321
+ declare type IHistoryToolbarProps = React.PropsWithChildren<{
322
322
  commands?: any;
323
323
  visible?: any;
324
- }
324
+ }>;
325
325
  declare class HistoryToolbar extends NestedOption<IHistoryToolbarProps> {
326
326
  static OptionName: string;
327
327
  static ExpectedChildren: {
@@ -331,7 +331,7 @@ declare class HistoryToolbar extends NestedOption<IHistoryToolbarProps> {
331
331
  };
332
332
  };
333
333
  }
334
- interface IItemProps {
334
+ declare type IItemProps = React.PropsWithChildren<{
335
335
  icon?: any;
336
336
  items?: any;
337
337
  location?: any;
@@ -339,15 +339,15 @@ interface IItemProps {
339
339
  text?: any;
340
340
  height?: any;
341
341
  width?: any;
342
- }
342
+ }>;
343
343
  declare class Item extends NestedOption<IItemProps> {
344
344
  static OptionName: string;
345
345
  static IsCollectionItem: boolean;
346
346
  }
347
- interface IMainToolbarProps {
347
+ declare type IMainToolbarProps = React.PropsWithChildren<{
348
348
  commands?: any;
349
349
  visible?: any;
350
- }
350
+ }>;
351
351
  declare class MainToolbar extends NestedOption<IMainToolbarProps> {
352
352
  static OptionName: string;
353
353
  static ExpectedChildren: {
@@ -357,7 +357,7 @@ declare class MainToolbar extends NestedOption<IMainToolbarProps> {
357
357
  };
358
358
  };
359
359
  }
360
- interface INodesProps {
360
+ declare type INodesProps = React.PropsWithChildren<{
361
361
  autoLayout?: object | string | {
362
362
  orientation?: any;
363
363
  type?: any;
@@ -381,7 +381,7 @@ interface INodesProps {
381
381
  typeExpr?: any;
382
382
  widthExpr?: any;
383
383
  zIndexExpr?: any;
384
- }
384
+ }>;
385
385
  declare class Nodes extends NestedOption<INodesProps> {
386
386
  static OptionName: string;
387
387
  static ExpectedChildren: {
@@ -391,7 +391,7 @@ declare class Nodes extends NestedOption<INodesProps> {
391
391
  };
392
392
  };
393
393
  }
394
- interface IPageSizeProps {
394
+ declare type IPageSizeProps = React.PropsWithChildren<{
395
395
  height?: any;
396
396
  items?: {
397
397
  height?: any;
@@ -403,7 +403,7 @@ interface IPageSizeProps {
403
403
  onHeightChange?: (value: any) => void;
404
404
  defaultWidth?: any;
405
405
  onWidthChange?: (value: any) => void;
406
- }
406
+ }>;
407
407
  declare class PageSize extends NestedOption<IPageSizeProps> {
408
408
  static OptionName: string;
409
409
  static DefaultsProps: {
@@ -421,16 +421,16 @@ declare class PageSize extends NestedOption<IPageSizeProps> {
421
421
  };
422
422
  };
423
423
  }
424
- interface IPageSizeItemProps {
424
+ declare type IPageSizeItemProps = React.PropsWithChildren<{
425
425
  height?: any;
426
426
  text?: any;
427
427
  width?: any;
428
- }
428
+ }>;
429
429
  declare class PageSizeItem extends NestedOption<IPageSizeItemProps> {
430
430
  static OptionName: string;
431
431
  static IsCollectionItem: boolean;
432
432
  }
433
- interface IPropertiesPanelProps {
433
+ declare type IPropertiesPanelProps = React.PropsWithChildren<{
434
434
  tabs?: {
435
435
  commands?: any;
436
436
  groups?: {
@@ -440,7 +440,7 @@ interface IPropertiesPanelProps {
440
440
  title?: any;
441
441
  }[];
442
442
  visibility?: any;
443
- }
443
+ }>;
444
444
  declare class PropertiesPanel extends NestedOption<IPropertiesPanelProps> {
445
445
  static OptionName: string;
446
446
  static ExpectedChildren: {
@@ -450,14 +450,14 @@ declare class PropertiesPanel extends NestedOption<IPropertiesPanelProps> {
450
450
  };
451
451
  };
452
452
  }
453
- interface ITabProps {
453
+ declare type ITabProps = React.PropsWithChildren<{
454
454
  commands?: any;
455
455
  groups?: {
456
456
  commands?: any;
457
457
  title?: any;
458
458
  }[];
459
459
  title?: any;
460
- }
460
+ }>;
461
461
  declare class Tab extends NestedOption<ITabProps> {
462
462
  static OptionName: string;
463
463
  static IsCollectionItem: boolean;
@@ -476,10 +476,10 @@ declare class Tab extends NestedOption<ITabProps> {
476
476
  };
477
477
  };
478
478
  }
479
- interface ITabGroupProps {
479
+ declare type ITabGroupProps = React.PropsWithChildren<{
480
480
  commands?: any;
481
481
  title?: any;
482
- }
482
+ }>;
483
483
  declare class TabGroup extends NestedOption<ITabGroupProps> {
484
484
  static OptionName: string;
485
485
  static IsCollectionItem: boolean;
@@ -490,7 +490,7 @@ declare class TabGroup extends NestedOption<ITabGroupProps> {
490
490
  };
491
491
  };
492
492
  }
493
- interface IToolboxProps {
493
+ declare type IToolboxProps = React.PropsWithChildren<{
494
494
  groups?: {
495
495
  category?: any;
496
496
  displayMode?: any;
@@ -502,7 +502,7 @@ interface IToolboxProps {
502
502
  showSearch?: any;
503
503
  visibility?: any;
504
504
  width?: any;
505
- }
505
+ }>;
506
506
  declare class Toolbox extends NestedOption<IToolboxProps> {
507
507
  static OptionName: string;
508
508
  static ExpectedChildren: {
@@ -516,21 +516,21 @@ declare class Toolbox extends NestedOption<IToolboxProps> {
516
516
  };
517
517
  };
518
518
  }
519
- interface IToolboxGroupProps {
519
+ declare type IToolboxGroupProps = React.PropsWithChildren<{
520
520
  category?: any;
521
521
  displayMode?: any;
522
522
  expanded?: any;
523
523
  shapes?: any;
524
524
  title?: any;
525
- }
525
+ }>;
526
526
  declare class ToolboxGroup extends NestedOption<IToolboxGroupProps> {
527
527
  static OptionName: string;
528
528
  static IsCollectionItem: boolean;
529
529
  }
530
- interface IViewToolbarProps {
530
+ declare type IViewToolbarProps = React.PropsWithChildren<{
531
531
  commands?: any;
532
532
  visible?: any;
533
- }
533
+ }>;
534
534
  declare class ViewToolbar extends NestedOption<IViewToolbarProps> {
535
535
  static OptionName: string;
536
536
  static ExpectedChildren: {
@@ -540,12 +540,12 @@ declare class ViewToolbar extends NestedOption<IViewToolbarProps> {
540
540
  };
541
541
  };
542
542
  }
543
- interface IZoomLevelProps {
543
+ declare type IZoomLevelProps = React.PropsWithChildren<{
544
544
  items?: any;
545
545
  value?: any;
546
546
  defaultValue?: any;
547
547
  onValueChange?: (value: any) => void;
548
- }
548
+ }>;
549
549
  declare class ZoomLevel extends NestedOption<IZoomLevelProps> {
550
550
  static OptionName: string;
551
551
  static DefaultsProps: {
package/diagram.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/draggable.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,11 +15,11 @@
15
15
  import dxDraggable, { Properties } from "devextreme/ui/draggable";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IDraggableOptions extends Properties, IHtmlOptions {
18
+ declare type IDraggableOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  dragRender?: (...params: any) => React.ReactNode;
20
20
  dragComponent?: React.ComponentType<any>;
21
21
  dragKeyFn?: (data: any) => string;
22
- }
22
+ }>;
23
23
  declare class Draggable extends BaseComponent<IDraggableOptions> {
24
24
  get instance(): dxDraggable;
25
25
  protected _WidgetClass: typeof dxDraggable;
@@ -37,10 +37,10 @@ declare class Draggable extends BaseComponent<IDraggableOptions> {
37
37
  keyFn: string;
38
38
  }[];
39
39
  }
40
- interface ICursorOffsetProps {
40
+ declare type ICursorOffsetProps = React.PropsWithChildren<{
41
41
  x?: any;
42
42
  y?: any;
43
- }
43
+ }>;
44
44
  declare class CursorOffset extends NestedOption<ICursorOffsetProps> {
45
45
  static OptionName: string;
46
46
  }
package/draggable.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/drawer.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
  *
@@ -14,13 +14,13 @@
14
14
  /// <reference types="react" />
15
15
  import dxDrawer, { Properties } from "devextreme/ui/drawer";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
- interface IDrawerOptions extends Properties, IHtmlOptions {
17
+ declare type IDrawerOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
18
18
  render?: (...params: any) => React.ReactNode;
19
19
  component?: React.ComponentType<any>;
20
20
  keyFn?: (data: any) => string;
21
21
  defaultOpened?: any;
22
22
  onOpenedChange?: (value: any) => void;
23
- }
23
+ }>;
24
24
  declare class Drawer extends BaseComponent<IDrawerOptions> {
25
25
  get instance(): dxDrawer;
26
26
  protected _WidgetClass: typeof dxDrawer;
package/drawer.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
  *