devextreme-react 22.2.6 → 23.1.2-alpha-23114-0308

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 (359) hide show
  1. package/accordion.d.ts +23 -18
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +21 -15
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +270 -171
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +230 -198
  8. package/bar-gauge.js +10 -3
  9. package/box.d.ts +18 -13
  10. package/box.js +2 -2
  11. package/bullet.d.ts +58 -53
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +19 -15
  14. package/button-group.js +2 -2
  15. package/button.d.ts +4 -2
  16. package/button.js +2 -2
  17. package/calendar.d.ts +8 -6
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +1591 -1457
  20. package/chart.js +29 -4
  21. package/check-box.d.ts +6 -4
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +270 -206
  24. package/circular-gauge.js +32 -3
  25. package/color-box.d.ts +265 -166
  26. package/color-box.js +2 -2
  27. package/common/charts.d.ts +14 -0
  28. package/common/charts.js +19 -0
  29. package/common/grids.d.ts +14 -0
  30. package/{ui/box.d.ts → common/grids.js} +4 -5
  31. package/common/index.d.ts +14 -0
  32. package/{ui/map.d.ts → common/index.js} +4 -5
  33. package/context-menu.d.ts +88 -81
  34. package/context-menu.js +2 -2
  35. package/core/component-base.d.ts +2 -2
  36. package/core/component-base.js +2 -2
  37. package/core/component.d.ts +4 -2
  38. package/core/component.js +9 -2
  39. package/core/config.d.ts +2 -2
  40. package/core/config.js +2 -2
  41. package/core/configuration/comparer.d.ts +2 -2
  42. package/core/configuration/comparer.js +2 -2
  43. package/core/configuration/config-node.d.ts +2 -2
  44. package/core/configuration/config-node.js +2 -2
  45. package/core/configuration/react/element.d.ts +2 -2
  46. package/core/configuration/react/element.js +2 -2
  47. package/core/configuration/react/templates.d.ts +2 -2
  48. package/core/configuration/react/templates.js +2 -2
  49. package/core/configuration/react/tree.d.ts +2 -2
  50. package/core/configuration/react/tree.js +2 -2
  51. package/core/configuration/tree.d.ts +2 -2
  52. package/core/configuration/tree.js +2 -2
  53. package/core/configuration/utils.d.ts +2 -2
  54. package/core/configuration/utils.js +2 -2
  55. package/core/dx-template.d.ts +2 -2
  56. package/core/dx-template.js +2 -2
  57. package/core/extension-component.d.ts +2 -2
  58. package/core/extension-component.js +2 -2
  59. package/core/helpers.d.ts +2 -2
  60. package/core/helpers.js +2 -2
  61. package/core/nested-option.d.ts +2 -2
  62. package/core/nested-option.js +2 -2
  63. package/core/options-manager.d.ts +2 -2
  64. package/core/options-manager.js +2 -2
  65. package/core/template-wrapper.d.ts +2 -2
  66. package/core/template-wrapper.js +2 -2
  67. package/core/template.d.ts +2 -2
  68. package/core/template.js +2 -2
  69. package/core/templates-manager.d.ts +2 -2
  70. package/core/templates-manager.js +2 -2
  71. package/core/templates-renderer.d.ts +2 -2
  72. package/core/templates-renderer.js +2 -2
  73. package/core/templates-store.d.ts +2 -2
  74. package/core/templates-store.js +2 -2
  75. package/core/widget-config.d.ts +2 -2
  76. package/core/widget-config.js +2 -2
  77. package/data-grid.d.ts +1527 -929
  78. package/data-grid.js +71 -4
  79. package/date-box.d.ts +348 -217
  80. package/date-box.js +2 -2
  81. package/date-range-box.d.ts +603 -0
  82. package/date-range-box.js +422 -0
  83. package/defer-rendering.d.ts +51 -47
  84. package/defer-rendering.js +2 -2
  85. package/diagram.d.ts +208 -196
  86. package/diagram.js +2 -2
  87. package/draggable.d.ts +6 -4
  88. package/draggable.js +2 -2
  89. package/drawer.d.ts +6 -4
  90. package/drawer.js +2 -2
  91. package/drop-down-box.d.ts +263 -164
  92. package/drop-down-box.js +2 -2
  93. package/drop-down-button.d.ts +218 -142
  94. package/drop-down-button.js +2 -2
  95. package/file-manager.d.ts +92 -88
  96. package/file-manager.js +2 -2
  97. package/file-uploader.d.ts +6 -4
  98. package/file-uploader.js +2 -2
  99. package/filter-builder.d.ts +78 -55
  100. package/filter-builder.js +2 -2
  101. package/form.d.ts +489 -293
  102. package/form.js +2 -2
  103. package/funnel.d.ts +280 -250
  104. package/funnel.js +2 -2
  105. package/gallery.d.ts +18 -13
  106. package/gallery.js +2 -2
  107. package/gantt.d.ts +303 -198
  108. package/gantt.js +36 -3
  109. package/html-editor.d.ts +255 -145
  110. package/html-editor.js +2 -2
  111. package/index.d.ts +3 -2
  112. package/index.js +6 -4
  113. package/linear-gauge.d.ts +263 -208
  114. package/linear-gauge.js +26 -3
  115. package/list.d.ts +325 -139
  116. package/list.js +3 -2
  117. package/load-indicator.d.ts +4 -2
  118. package/load-indicator.js +2 -2
  119. package/load-panel.d.ts +67 -63
  120. package/load-panel.js +2 -2
  121. package/lookup.d.ts +209 -148
  122. package/lookup.js +2 -2
  123. package/map.d.ts +35 -33
  124. package/map.js +2 -2
  125. package/menu.d.ts +89 -80
  126. package/menu.js +2 -2
  127. package/multi-view.d.ts +16 -11
  128. package/multi-view.js +2 -2
  129. package/number-box.d.ts +77 -40
  130. package/number-box.js +2 -2
  131. package/package.json +4 -4
  132. package/pie-chart.d.ts +483 -443
  133. package/pie-chart.js +15 -3
  134. package/pivot-grid-field-chooser.d.ts +45 -27
  135. package/pivot-grid-field-chooser.js +13 -3
  136. package/pivot-grid.d.ts +116 -98
  137. package/pivot-grid.js +13 -3
  138. package/polar-chart.d.ts +1108 -1022
  139. package/polar-chart.js +19 -4
  140. package/popover.d.ts +89 -83
  141. package/popover.js +3 -2
  142. package/popup.d.ts +85 -79
  143. package/popup.js +3 -2
  144. package/progress-bar.d.ts +6 -4
  145. package/progress-bar.js +2 -2
  146. package/radio-group.d.ts +11 -7
  147. package/radio-group.js +2 -2
  148. package/range-selector.d.ts +823 -745
  149. package/range-selector.js +19 -4
  150. package/range-slider.d.ts +20 -17
  151. package/range-slider.js +2 -2
  152. package/recurrence-editor.d.ts +4 -4
  153. package/recurrence-editor.js +2 -2
  154. package/resizable.d.ts +8 -6
  155. package/resizable.js +2 -2
  156. package/responsive-box.d.ts +33 -28
  157. package/responsive-box.js +2 -2
  158. package/sankey.d.ts +184 -161
  159. package/sankey.js +2 -2
  160. package/scheduler.d.ts +117 -53
  161. package/scheduler.js +2 -2
  162. package/scroll-view.d.ts +4 -2
  163. package/scroll-view.js +2 -2
  164. package/select-box.d.ts +268 -169
  165. package/select-box.js +2 -2
  166. package/slider.d.ts +20 -17
  167. package/slider.js +2 -2
  168. package/sortable.d.ts +6 -4
  169. package/sortable.js +2 -2
  170. package/sparkline.d.ts +58 -53
  171. package/sparkline.js +2 -2
  172. package/speed-dial-action.d.ts +4 -2
  173. package/speed-dial-action.js +2 -2
  174. package/switch.d.ts +6 -4
  175. package/switch.js +2 -2
  176. package/tab-panel.d.ts +20 -15
  177. package/tab-panel.js +2 -2
  178. package/tabs.d.ts +22 -17
  179. package/tabs.js +2 -2
  180. package/tag-box.d.ts +270 -171
  181. package/tag-box.js +2 -2
  182. package/text-area.d.ts +6 -4
  183. package/text-area.js +2 -2
  184. package/text-box.d.ts +71 -34
  185. package/text-box.js +2 -2
  186. package/tile-view.d.ts +16 -11
  187. package/tile-view.js +2 -2
  188. package/toast.d.ts +67 -63
  189. package/toast.js +2 -2
  190. package/toolbar.d.ts +20 -15
  191. package/toolbar.js +2 -2
  192. package/tooltip.d.ts +75 -71
  193. package/tooltip.js +2 -2
  194. package/tree-list.d.ts +1342 -781
  195. package/tree-list.js +72 -5
  196. package/tree-map.d.ts +161 -147
  197. package/tree-map.js +2 -2
  198. package/tree-view.d.ts +159 -100
  199. package/tree-view.js +2 -2
  200. package/validation-group.d.ts +4 -2
  201. package/validation-group.js +2 -2
  202. package/validation-summary.d.ts +13 -9
  203. package/validation-summary.js +2 -2
  204. package/validator.d.ts +82 -59
  205. package/validator.js +2 -2
  206. package/vector-map.d.ts +343 -322
  207. package/vector-map.js +2 -2
  208. package/ui/accordion.d.ts +0 -16
  209. package/ui/accordion.js +0 -30
  210. package/ui/action-sheet.d.ts +0 -16
  211. package/ui/action-sheet.js +0 -30
  212. package/ui/autocomplete.d.ts +0 -16
  213. package/ui/autocomplete.js +0 -30
  214. package/ui/bar-gauge.d.ts +0 -16
  215. package/ui/bar-gauge.js +0 -30
  216. package/ui/box.js +0 -30
  217. package/ui/bullet.d.ts +0 -16
  218. package/ui/bullet.js +0 -30
  219. package/ui/button-group.d.ts +0 -16
  220. package/ui/button-group.js +0 -30
  221. package/ui/button.d.ts +0 -16
  222. package/ui/button.js +0 -30
  223. package/ui/calendar.d.ts +0 -16
  224. package/ui/calendar.js +0 -30
  225. package/ui/chart.d.ts +0 -16
  226. package/ui/chart.js +0 -30
  227. package/ui/check-box.d.ts +0 -16
  228. package/ui/check-box.js +0 -30
  229. package/ui/circular-gauge.d.ts +0 -16
  230. package/ui/circular-gauge.js +0 -30
  231. package/ui/color-box.d.ts +0 -16
  232. package/ui/color-box.js +0 -30
  233. package/ui/context-menu.d.ts +0 -16
  234. package/ui/context-menu.js +0 -30
  235. package/ui/data-grid.d.ts +0 -16
  236. package/ui/data-grid.js +0 -30
  237. package/ui/date-box.d.ts +0 -16
  238. package/ui/date-box.js +0 -30
  239. package/ui/defer-rendering.d.ts +0 -16
  240. package/ui/defer-rendering.js +0 -30
  241. package/ui/diagram.d.ts +0 -16
  242. package/ui/diagram.js +0 -30
  243. package/ui/draggable.d.ts +0 -16
  244. package/ui/draggable.js +0 -30
  245. package/ui/drawer.d.ts +0 -16
  246. package/ui/drawer.js +0 -30
  247. package/ui/drop-down-box.d.ts +0 -16
  248. package/ui/drop-down-box.js +0 -30
  249. package/ui/drop-down-button.d.ts +0 -16
  250. package/ui/drop-down-button.js +0 -30
  251. package/ui/file-manager.d.ts +0 -16
  252. package/ui/file-manager.js +0 -30
  253. package/ui/file-uploader.d.ts +0 -16
  254. package/ui/file-uploader.js +0 -30
  255. package/ui/filter-builder.d.ts +0 -16
  256. package/ui/filter-builder.js +0 -30
  257. package/ui/form.d.ts +0 -16
  258. package/ui/form.js +0 -30
  259. package/ui/funnel.d.ts +0 -16
  260. package/ui/funnel.js +0 -30
  261. package/ui/gallery.d.ts +0 -16
  262. package/ui/gallery.js +0 -30
  263. package/ui/gantt.d.ts +0 -16
  264. package/ui/gantt.js +0 -30
  265. package/ui/html-editor.d.ts +0 -16
  266. package/ui/html-editor.js +0 -30
  267. package/ui/linear-gauge.d.ts +0 -16
  268. package/ui/linear-gauge.js +0 -30
  269. package/ui/list.d.ts +0 -16
  270. package/ui/list.js +0 -30
  271. package/ui/load-indicator.d.ts +0 -16
  272. package/ui/load-indicator.js +0 -30
  273. package/ui/load-panel.d.ts +0 -16
  274. package/ui/load-panel.js +0 -30
  275. package/ui/lookup.d.ts +0 -16
  276. package/ui/lookup.js +0 -30
  277. package/ui/map.js +0 -30
  278. package/ui/menu.d.ts +0 -16
  279. package/ui/menu.js +0 -30
  280. package/ui/multi-view.d.ts +0 -16
  281. package/ui/multi-view.js +0 -30
  282. package/ui/number-box.d.ts +0 -16
  283. package/ui/number-box.js +0 -30
  284. package/ui/pie-chart.d.ts +0 -16
  285. package/ui/pie-chart.js +0 -30
  286. package/ui/pivot-grid-field-chooser.d.ts +0 -16
  287. package/ui/pivot-grid-field-chooser.js +0 -30
  288. package/ui/pivot-grid.d.ts +0 -16
  289. package/ui/pivot-grid.js +0 -30
  290. package/ui/polar-chart.d.ts +0 -16
  291. package/ui/polar-chart.js +0 -30
  292. package/ui/popover.d.ts +0 -16
  293. package/ui/popover.js +0 -30
  294. package/ui/popup.d.ts +0 -16
  295. package/ui/popup.js +0 -30
  296. package/ui/progress-bar.d.ts +0 -16
  297. package/ui/progress-bar.js +0 -30
  298. package/ui/radio-group.d.ts +0 -16
  299. package/ui/radio-group.js +0 -30
  300. package/ui/range-selector.d.ts +0 -16
  301. package/ui/range-selector.js +0 -30
  302. package/ui/range-slider.d.ts +0 -16
  303. package/ui/range-slider.js +0 -30
  304. package/ui/recurrence-editor.d.ts +0 -16
  305. package/ui/recurrence-editor.js +0 -30
  306. package/ui/resizable.d.ts +0 -16
  307. package/ui/resizable.js +0 -30
  308. package/ui/responsive-box.d.ts +0 -16
  309. package/ui/responsive-box.js +0 -30
  310. package/ui/sankey.d.ts +0 -16
  311. package/ui/sankey.js +0 -30
  312. package/ui/scheduler.d.ts +0 -16
  313. package/ui/scheduler.js +0 -30
  314. package/ui/scroll-view.d.ts +0 -16
  315. package/ui/scroll-view.js +0 -30
  316. package/ui/select-box.d.ts +0 -16
  317. package/ui/select-box.js +0 -30
  318. package/ui/slider.d.ts +0 -16
  319. package/ui/slider.js +0 -30
  320. package/ui/sortable.d.ts +0 -16
  321. package/ui/sortable.js +0 -30
  322. package/ui/sparkline.d.ts +0 -16
  323. package/ui/sparkline.js +0 -30
  324. package/ui/speed-dial-action.d.ts +0 -16
  325. package/ui/speed-dial-action.js +0 -30
  326. package/ui/switch.d.ts +0 -16
  327. package/ui/switch.js +0 -30
  328. package/ui/tab-panel.d.ts +0 -16
  329. package/ui/tab-panel.js +0 -30
  330. package/ui/tabs.d.ts +0 -16
  331. package/ui/tabs.js +0 -30
  332. package/ui/tag-box.d.ts +0 -16
  333. package/ui/tag-box.js +0 -30
  334. package/ui/text-area.d.ts +0 -16
  335. package/ui/text-area.js +0 -30
  336. package/ui/text-box.d.ts +0 -16
  337. package/ui/text-box.js +0 -30
  338. package/ui/tile-view.d.ts +0 -16
  339. package/ui/tile-view.js +0 -30
  340. package/ui/toast.d.ts +0 -16
  341. package/ui/toast.js +0 -30
  342. package/ui/toolbar.d.ts +0 -16
  343. package/ui/toolbar.js +0 -30
  344. package/ui/tooltip.d.ts +0 -16
  345. package/ui/tooltip.js +0 -30
  346. package/ui/tree-list.d.ts +0 -16
  347. package/ui/tree-list.js +0 -30
  348. package/ui/tree-map.d.ts +0 -16
  349. package/ui/tree-map.js +0 -30
  350. package/ui/tree-view.d.ts +0 -16
  351. package/ui/tree-view.js +0 -30
  352. package/ui/validation-group.d.ts +0 -16
  353. package/ui/validation-group.js +0 -30
  354. package/ui/validation-summary.d.ts +0 -16
  355. package/ui/validation-summary.js +0 -30
  356. package/ui/validator.d.ts +0 -16
  357. package/ui/validator.js +0 -30
  358. package/ui/vector-map.d.ts +0 -16
  359. package/ui/vector-map.js +0 -30
package/accordion.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.2.6
4
- * Build date: Tue Apr 18 2023
3
+ * Version: 23.1.2-alpha-23114-0308
4
+ * Build date: Mon Apr 24 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,6 +16,9 @@ export { ExplicitTypes } from "devextreme/ui/accordion";
16
16
  import dxAccordion, { Properties } from "devextreme/ui/accordion";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
+ import type { dxAccordionItem } from "devextreme/ui/accordion";
20
+ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
21
+ import type { template } from "devextreme/core/templates/template";
19
22
  declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
20
23
  dataSource?: Properties<TItem, TKey>["dataSource"];
21
24
  itemRender?: (...params: any) => React.ReactNode;
@@ -24,16 +27,16 @@ declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildre
24
27
  itemTitleRender?: (...params: any) => React.ReactNode;
25
28
  itemTitleComponent?: React.ComponentType<any>;
26
29
  itemTitleKeyFn?: (data: any) => string;
27
- defaultItems?: any;
28
- defaultSelectedIndex?: any;
30
+ defaultItems?: Array<any | dxAccordionItem | string>;
31
+ defaultSelectedIndex?: number;
29
32
  defaultSelectedItem?: any;
30
- defaultSelectedItemKeys?: any;
31
- defaultSelectedItems?: any;
32
- onItemsChange?: (value: any) => void;
33
- onSelectedIndexChange?: (value: any) => void;
33
+ defaultSelectedItemKeys?: Array<any>;
34
+ defaultSelectedItems?: Array<any>;
35
+ onItemsChange?: (value: Array<any | dxAccordionItem | string>) => void;
36
+ onSelectedIndexChange?: (value: number) => void;
34
37
  onSelectedItemChange?: (value: any) => void;
35
- onSelectedItemKeysChange?: (value: any) => void;
36
- onSelectedItemsChange?: (value: any) => void;
38
+ onSelectedItemKeysChange?: (value: Array<any>) => void;
39
+ onSelectedItemsChange?: (value: Array<any>) => void;
37
40
  }>;
38
41
  declare class Accordion<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IAccordionOptions<TItem, TKey>>> {
39
42
  get instance(): dxAccordion<TItem, TKey>;
@@ -61,14 +64,14 @@ declare class Accordion<TItem = any, TKey = any> extends BaseComponent<React.Pro
61
64
  }[];
62
65
  }
63
66
  declare type IItemProps = React.PropsWithChildren<{
64
- disabled?: any;
65
- html?: any;
66
- icon?: any;
67
- template?: any;
68
- text?: any;
69
- title?: any;
70
- titleTemplate?: any;
71
- visible?: any;
67
+ disabled?: boolean;
68
+ html?: string;
69
+ icon?: string;
70
+ template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
71
+ text?: string;
72
+ title?: string;
73
+ titleTemplate?: (() => string) | template;
74
+ visible?: boolean;
72
75
  render?: (...params: any) => React.ReactNode;
73
76
  component?: React.ComponentType<any>;
74
77
  keyFn?: (data: any) => string;
@@ -88,3 +91,5 @@ declare class Item extends NestedOption<IItemProps> {
88
91
  }
89
92
  export default Accordion;
90
93
  export { Accordion, IAccordionOptions, Item, IItemProps };
94
+ import type * as AccordionTypes from 'devextreme/ui/accordion_types';
95
+ export { AccordionTypes };
package/accordion.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.2.6
4
- * Build date: Tue Apr 18 2023
3
+ * Version: 23.1.2-alpha-23114-0308
4
+ * Build date: Mon Apr 24 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/action-sheet.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.2.6
4
- * Build date: Tue Apr 18 2023
3
+ * Version: 23.1.2-alpha-23114-0308
4
+ * Build date: Mon Apr 24 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,15 +16,19 @@ export { ExplicitTypes } from "devextreme/ui/action_sheet";
16
16
  import dxActionSheet, { Properties } from "devextreme/ui/action_sheet";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
+ import type { dxActionSheetItem } from "devextreme/ui/action_sheet";
20
+ import type { NativeEventInfo } from "devextreme/events/index";
21
+ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
22
+ import type { template } from "devextreme/core/templates/template";
19
23
  declare type IActionSheetOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
20
24
  dataSource?: Properties<TItem, TKey>["dataSource"];
21
25
  itemRender?: (...params: any) => React.ReactNode;
22
26
  itemComponent?: React.ComponentType<any>;
23
27
  itemKeyFn?: (data: any) => string;
24
- defaultItems?: any;
25
- defaultVisible?: any;
26
- onItemsChange?: (value: any) => void;
27
- onVisibleChange?: (value: any) => void;
28
+ defaultItems?: Array<any | dxActionSheetItem | string>;
29
+ defaultVisible?: boolean;
30
+ onItemsChange?: (value: Array<any | dxActionSheetItem | string>) => void;
31
+ onVisibleChange?: (value: boolean) => void;
28
32
  }>;
29
33
  declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IActionSheetOptions<TItem, TKey>>> {
30
34
  get instance(): dxActionSheet<TItem, TKey>;
@@ -49,15 +53,15 @@ declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<React.P
49
53
  }[];
50
54
  }
51
55
  declare type IItemProps = React.PropsWithChildren<{
52
- disabled?: any;
53
- html?: any;
54
- icon?: any;
55
- onClick?: any;
56
- stylingMode?: any;
57
- template?: any;
58
- text?: any;
59
- type?: any;
60
- visible?: any;
56
+ disabled?: boolean;
57
+ html?: string;
58
+ icon?: string;
59
+ onClick?: ((e: NativeEventInfo<any>) => void);
60
+ stylingMode?: "text" | "outlined" | "contained";
61
+ template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
62
+ text?: string;
63
+ type?: "back" | "danger" | "default" | "normal" | "success";
64
+ visible?: boolean;
61
65
  render?: (...params: any) => React.ReactNode;
62
66
  component?: React.ComponentType<any>;
63
67
  keyFn?: (data: any) => string;
@@ -74,3 +78,5 @@ declare class Item extends NestedOption<IItemProps> {
74
78
  }
75
79
  export default ActionSheet;
76
80
  export { ActionSheet, IActionSheetOptions, Item, IItemProps };
81
+ import type * as ActionSheetTypes from 'devextreme/ui/action_sheet_types';
82
+ export { ActionSheetTypes };
package/action-sheet.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.2.6
4
- * Build date: Tue Apr 18 2023
3
+ * Version: 23.1.2-alpha-23114-0308
4
+ * Build date: Mon Apr 24 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *