devextreme-react 24.1.8-build-24321-1936 → 24.2.2-beta

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 (325) hide show
  1. package/README.md +19 -14
  2. package/chat/package.json +6 -0
  3. package/cjs/accordion.d.ts +21 -5
  4. package/cjs/accordion.js +21 -16
  5. package/cjs/action-sheet.d.ts +21 -7
  6. package/cjs/action-sheet.js +17 -12
  7. package/cjs/autocomplete.d.ts +381 -82
  8. package/cjs/autocomplete.js +202 -122
  9. package/cjs/bar-gauge.d.ts +435 -106
  10. package/cjs/bar-gauge.js +254 -144
  11. package/cjs/box.d.ts +21 -6
  12. package/cjs/box.js +17 -12
  13. package/cjs/bullet.d.ts +118 -32
  14. package/cjs/bullet.js +76 -41
  15. package/cjs/button-group.d.ts +21 -6
  16. package/cjs/button-group.js +17 -12
  17. package/cjs/button.d.ts +2 -2
  18. package/cjs/button.js +2 -2
  19. package/cjs/calendar.d.ts +5 -5
  20. package/cjs/calendar.js +2 -2
  21. package/cjs/chart.d.ts +2989 -779
  22. package/cjs/chart.js +1082 -622
  23. package/cjs/chat.d.ts +161 -0
  24. package/cjs/chat.js +178 -0
  25. package/cjs/check-box.d.ts +4 -4
  26. package/cjs/check-box.js +2 -2
  27. package/cjs/circular-gauge.d.ts +451 -112
  28. package/cjs/circular-gauge.js +268 -148
  29. package/cjs/color-box.d.ts +368 -80
  30. package/cjs/color-box.js +187 -112
  31. package/cjs/common/charts.d.ts +2 -2
  32. package/cjs/common/charts.js +2 -2
  33. package/cjs/common/data/custom-store.d.ts +2 -2
  34. package/cjs/common/data/custom-store.js +2 -2
  35. package/cjs/common/grids.d.ts +3 -3
  36. package/cjs/common/grids.js +2 -2
  37. package/cjs/common/index.d.ts +3 -3
  38. package/cjs/common/index.js +2 -2
  39. package/cjs/context-menu.d.ts +205 -59
  40. package/cjs/context-menu.js +157 -82
  41. package/cjs/core/component-base.d.ts +19 -5
  42. package/cjs/core/component-base.js +33 -31
  43. package/cjs/core/component.d.ts +21 -6
  44. package/cjs/core/component.js +4 -6
  45. package/cjs/core/config.d.ts +2 -2
  46. package/cjs/core/config.js +2 -2
  47. package/cjs/core/configuration/comparer.d.ts +2 -2
  48. package/cjs/core/configuration/comparer.js +16 -14
  49. package/cjs/core/configuration/config-node.d.ts +20 -5
  50. package/cjs/core/configuration/config-node.js +102 -2
  51. package/cjs/core/configuration/react/element.d.ts +5 -12
  52. package/cjs/core/configuration/react/element.js +37 -39
  53. package/cjs/core/configuration/react/templates.d.ts +2 -2
  54. package/cjs/core/configuration/react/templates.js +2 -2
  55. package/cjs/core/configuration/tree.d.ts +2 -2
  56. package/cjs/core/configuration/tree.js +7 -4
  57. package/cjs/core/configuration/utils.d.ts +2 -2
  58. package/cjs/core/configuration/utils.js +2 -2
  59. package/cjs/core/contexts.d.ts +34 -0
  60. package/cjs/core/contexts.js +30 -0
  61. package/cjs/core/extension-component.d.ts +20 -8
  62. package/cjs/core/extension-component.js +4 -3
  63. package/cjs/core/helpers.d.ts +3 -5
  64. package/cjs/core/helpers.js +3 -8
  65. package/cjs/core/nested-option.d.ts +6 -3
  66. package/cjs/core/nested-option.js +31 -10
  67. package/cjs/core/options-manager.d.ts +2 -2
  68. package/cjs/core/options-manager.js +2 -2
  69. package/cjs/core/template-manager.d.ts +2 -2
  70. package/cjs/core/template-manager.js +2 -2
  71. package/cjs/core/template-wrapper.d.ts +2 -2
  72. package/cjs/core/template-wrapper.js +4 -4
  73. package/cjs/core/template.d.ts +2 -2
  74. package/cjs/core/template.js +2 -2
  75. package/cjs/core/types.d.ts +5 -6
  76. package/cjs/core/types.js +2 -2
  77. package/cjs/core/use-option-scanning.d.ts +21 -0
  78. package/cjs/core/use-option-scanning.js +65 -0
  79. package/cjs/core/widget-config.d.ts +2 -2
  80. package/cjs/core/widget-config.js +3 -2
  81. package/cjs/data-grid.d.ts +2230 -464
  82. package/cjs/data-grid.js +1096 -653
  83. package/cjs/date-box.d.ts +455 -102
  84. package/cjs/date-box.js +214 -129
  85. package/cjs/date-range-box.d.ts +455 -102
  86. package/cjs/date-range-box.js +214 -129
  87. package/cjs/defer-rendering.d.ts +130 -41
  88. package/cjs/defer-rendering.js +97 -52
  89. package/cjs/diagram.d.ts +439 -131
  90. package/cjs/diagram.js +302 -172
  91. package/cjs/draggable.d.ts +11 -5
  92. package/cjs/draggable.js +11 -6
  93. package/cjs/drawer.d.ts +2 -2
  94. package/cjs/drawer.js +2 -2
  95. package/cjs/drop-down-box.d.ts +368 -80
  96. package/cjs/drop-down-box.js +187 -112
  97. package/cjs/drop-down-button.d.ts +329 -68
  98. package/cjs/drop-down-button.js +175 -105
  99. package/cjs/file-manager.d.ts +195 -65
  100. package/cjs/file-manager.js +130 -70
  101. package/cjs/file-uploader.d.ts +2 -2
  102. package/cjs/file-uploader.js +2 -2
  103. package/cjs/filter-builder.d.ts +132 -34
  104. package/cjs/filter-builder.js +72 -42
  105. package/cjs/form.d.ts +654 -174
  106. package/cjs/form.js +362 -252
  107. package/cjs/funnel.d.ts +577 -146
  108. package/cjs/funnel.js +317 -182
  109. package/cjs/gallery.d.ts +17 -5
  110. package/cjs/gallery.js +17 -12
  111. package/cjs/gantt.d.ts +486 -125
  112. package/cjs/gantt.js +298 -173
  113. package/cjs/html-editor.d.ts +286 -63
  114. package/cjs/html-editor.js +175 -102
  115. package/cjs/index.d.ts +4 -2
  116. package/cjs/index.js +8 -4
  117. package/cjs/linear-gauge.d.ts +461 -114
  118. package/cjs/linear-gauge.js +278 -153
  119. package/cjs/list.d.ts +228 -52
  120. package/cjs/list.js +96 -61
  121. package/cjs/load-indicator.d.ts +2 -2
  122. package/cjs/load-indicator.js +2 -2
  123. package/cjs/load-panel.d.ts +159 -50
  124. package/cjs/load-panel.js +112 -57
  125. package/cjs/lookup.d.ts +301 -81
  126. package/cjs/lookup.js +195 -115
  127. package/cjs/map.d.ts +83 -18
  128. package/cjs/map.js +78 -35
  129. package/cjs/menu.d.ts +209 -58
  130. package/cjs/menu.js +167 -92
  131. package/cjs/multi-view.d.ts +17 -5
  132. package/cjs/multi-view.js +17 -12
  133. package/cjs/number-box.d.ts +72 -20
  134. package/cjs/number-box.js +38 -23
  135. package/cjs/pagination.d.ts +33 -0
  136. package/cjs/pagination.js +71 -0
  137. package/cjs/pie-chart.d.ts +966 -262
  138. package/cjs/pie-chart.js +423 -248
  139. package/cjs/pivot-grid-field-chooser.d.ts +67 -14
  140. package/cjs/pivot-grid-field-chooser.js +52 -27
  141. package/cjs/pivot-grid.d.ts +196 -36
  142. package/cjs/pivot-grid.js +132 -67
  143. package/cjs/polar-chart.d.ts +2072 -507
  144. package/cjs/polar-chart.js +823 -473
  145. package/cjs/popover.d.ts +210 -66
  146. package/cjs/popover.js +149 -79
  147. package/cjs/popup.d.ts +190 -58
  148. package/cjs/popup.js +131 -71
  149. package/cjs/progress-bar.d.ts +2 -2
  150. package/cjs/progress-bar.js +2 -2
  151. package/cjs/radio-group.d.ts +16 -5
  152. package/cjs/radio-group.js +17 -12
  153. package/cjs/range-selector.d.ts +1628 -423
  154. package/cjs/range-selector.js +666 -366
  155. package/cjs/range-slider.d.ts +42 -16
  156. package/cjs/range-slider.js +35 -20
  157. package/cjs/recurrence-editor.d.ts +2 -2
  158. package/cjs/recurrence-editor.js +2 -2
  159. package/cjs/resizable.d.ts +2 -2
  160. package/cjs/resizable.js +2 -2
  161. package/cjs/responsive-box.d.ts +62 -19
  162. package/cjs/responsive-box.js +50 -30
  163. package/cjs/sankey.d.ts +396 -109
  164. package/cjs/sankey.js +219 -124
  165. package/cjs/scheduler.d.ts +166 -26
  166. package/cjs/scheduler.js +85 -60
  167. package/cjs/scroll-view.d.ts +2 -2
  168. package/cjs/scroll-view.js +2 -2
  169. package/cjs/select-box.d.ts +381 -82
  170. package/cjs/select-box.js +202 -122
  171. package/cjs/slider.d.ts +42 -16
  172. package/cjs/slider.js +35 -20
  173. package/cjs/sortable.d.ts +11 -5
  174. package/cjs/sortable.js +11 -6
  175. package/cjs/sparkline.d.ts +118 -32
  176. package/cjs/sparkline.js +76 -41
  177. package/cjs/speed-dial-action.d.ts +2 -2
  178. package/cjs/speed-dial-action.js +2 -2
  179. package/cjs/splitter.d.ts +27 -10
  180. package/cjs/splitter.js +17 -12
  181. package/cjs/switch.d.ts +2 -2
  182. package/cjs/switch.js +2 -2
  183. package/cjs/tab-panel.d.ts +25 -6
  184. package/cjs/tab-panel.js +22 -17
  185. package/cjs/tabs.d.ts +20 -6
  186. package/cjs/tabs.js +18 -13
  187. package/cjs/tag-box.d.ts +381 -82
  188. package/cjs/tag-box.js +202 -122
  189. package/cjs/text-area.d.ts +2 -2
  190. package/cjs/text-area.js +2 -2
  191. package/cjs/text-box.d.ts +59 -17
  192. package/cjs/text-box.js +29 -19
  193. package/cjs/tile-view.d.ts +18 -5
  194. package/cjs/tile-view.js +17 -12
  195. package/cjs/toast.d.ts +157 -48
  196. package/cjs/toast.js +112 -57
  197. package/cjs/toolbar.d.ts +32 -11
  198. package/cjs/toolbar.js +21 -16
  199. package/cjs/tooltip.d.ts +179 -58
  200. package/cjs/tooltip.js +130 -65
  201. package/cjs/tree-list.d.ts +1969 -426
  202. package/cjs/tree-list.js +953 -570
  203. package/cjs/tree-map.d.ts +388 -114
  204. package/cjs/tree-map.js +239 -134
  205. package/cjs/tree-view.d.ts +159 -38
  206. package/cjs/tree-view.js +59 -39
  207. package/cjs/validation-group.d.ts +2 -2
  208. package/cjs/validation-group.js +2 -2
  209. package/cjs/validation-summary.d.ts +16 -5
  210. package/cjs/validation-summary.js +17 -12
  211. package/cjs/validator.d.ts +162 -42
  212. package/cjs/validator.js +142 -87
  213. package/cjs/vector-map.d.ts +628 -154
  214. package/cjs/vector-map.js +319 -189
  215. package/esm/accordion.js +21 -16
  216. package/esm/action-sheet.js +17 -12
  217. package/esm/autocomplete.js +202 -122
  218. package/esm/bar-gauge.js +254 -144
  219. package/esm/box.js +17 -12
  220. package/esm/bullet.js +76 -41
  221. package/esm/button-group.js +17 -12
  222. package/esm/button.js +2 -2
  223. package/esm/calendar.js +2 -2
  224. package/esm/chart.js +1082 -622
  225. package/esm/chat.js +142 -0
  226. package/esm/check-box.js +2 -2
  227. package/esm/circular-gauge.js +268 -148
  228. package/esm/color-box.js +187 -112
  229. package/esm/common/charts.js +2 -2
  230. package/esm/common/data/custom-store.js +2 -2
  231. package/esm/common/grids.js +2 -2
  232. package/esm/common/index.js +2 -2
  233. package/esm/context-menu.js +157 -82
  234. package/esm/core/component-base.js +32 -30
  235. package/esm/core/component.js +4 -6
  236. package/esm/core/config.js +2 -2
  237. package/esm/core/configuration/comparer.js +16 -14
  238. package/esm/core/configuration/config-node.js +77 -3
  239. package/esm/core/configuration/react/element.js +33 -37
  240. package/esm/core/configuration/react/templates.js +2 -2
  241. package/esm/core/configuration/tree.js +5 -3
  242. package/esm/core/configuration/utils.js +2 -2
  243. package/esm/core/contexts.js +27 -0
  244. package/esm/core/extension-component.js +4 -3
  245. package/esm/core/helpers.js +2 -7
  246. package/esm/core/nested-option.js +32 -11
  247. package/esm/core/options-manager.js +2 -2
  248. package/esm/core/template-manager.js +2 -2
  249. package/esm/core/template-wrapper.js +3 -3
  250. package/esm/core/template.js +2 -2
  251. package/esm/core/types.js +2 -2
  252. package/esm/core/use-option-scanning.js +61 -0
  253. package/esm/core/widget-config.js +3 -2
  254. package/esm/data-grid.js +1095 -653
  255. package/esm/date-box.js +214 -129
  256. package/esm/date-range-box.js +214 -129
  257. package/esm/defer-rendering.js +97 -52
  258. package/esm/diagram.js +302 -172
  259. package/esm/draggable.js +11 -6
  260. package/esm/drawer.js +2 -2
  261. package/esm/drop-down-box.js +187 -112
  262. package/esm/drop-down-button.js +175 -105
  263. package/esm/file-manager.js +130 -70
  264. package/esm/file-uploader.js +2 -2
  265. package/esm/filter-builder.js +72 -42
  266. package/esm/form.js +362 -252
  267. package/esm/funnel.js +317 -182
  268. package/esm/gallery.js +17 -12
  269. package/esm/gantt.js +298 -173
  270. package/esm/html-editor.js +175 -103
  271. package/esm/index.js +4 -2
  272. package/esm/linear-gauge.js +278 -153
  273. package/esm/list.js +96 -61
  274. package/esm/load-indicator.js +2 -2
  275. package/esm/load-panel.js +112 -57
  276. package/esm/lookup.js +195 -115
  277. package/esm/map.js +77 -35
  278. package/esm/menu.js +167 -92
  279. package/esm/multi-view.js +17 -12
  280. package/esm/number-box.js +38 -23
  281. package/esm/pagination.js +42 -0
  282. package/esm/pie-chart.js +423 -248
  283. package/esm/pivot-grid-field-chooser.js +52 -27
  284. package/esm/pivot-grid.js +132 -67
  285. package/esm/polar-chart.js +823 -473
  286. package/esm/popover.js +149 -79
  287. package/esm/popup.js +131 -71
  288. package/esm/progress-bar.js +2 -2
  289. package/esm/radio-group.js +17 -12
  290. package/esm/range-selector.js +666 -366
  291. package/esm/range-slider.js +35 -20
  292. package/esm/recurrence-editor.js +2 -2
  293. package/esm/resizable.js +2 -2
  294. package/esm/responsive-box.js +50 -30
  295. package/esm/sankey.js +219 -124
  296. package/esm/scheduler.js +85 -60
  297. package/esm/scroll-view.js +2 -2
  298. package/esm/select-box.js +202 -122
  299. package/esm/slider.js +35 -20
  300. package/esm/sortable.js +11 -6
  301. package/esm/sparkline.js +76 -41
  302. package/esm/speed-dial-action.js +2 -2
  303. package/esm/splitter.js +17 -12
  304. package/esm/switch.js +2 -2
  305. package/esm/tab-panel.js +22 -17
  306. package/esm/tabs.js +18 -13
  307. package/esm/tag-box.js +202 -122
  308. package/esm/text-area.js +2 -2
  309. package/esm/text-box.js +29 -19
  310. package/esm/tile-view.js +17 -12
  311. package/esm/toast.js +112 -57
  312. package/esm/toolbar.js +21 -16
  313. package/esm/tooltip.js +130 -65
  314. package/esm/tree-list.js +952 -570
  315. package/esm/tree-map.js +239 -134
  316. package/esm/tree-view.js +59 -39
  317. package/esm/validation-group.js +2 -2
  318. package/esm/validation-summary.js +17 -12
  319. package/esm/validator.js +142 -87
  320. package/esm/vector-map.js +319 -189
  321. package/package.json +54 -50
  322. package/pagination/package.json +6 -0
  323. package/cjs/core/configuration/react/tree.d.ts +0 -30
  324. package/cjs/core/configuration/react/tree.js +0 -121
  325. package/esm/core/configuration/react/tree.js +0 -94
package/README.md CHANGED
@@ -1,23 +1,28 @@
1
- # DevExtreme React UI Components #
1
+ # DevExtreme for React
2
2
 
3
- [![Build Status](https://api.shippable.com/projects/5a9532d976382b0800e7a53c/badge?branch=master)](https://app.shippable.com/github/DevExpress/devextreme-react)
4
- [![NPM](https://img.shields.io/npm/v/devextreme-react.svg?maxAge=43200)](https://www.npmjs.com/package/devextreme-react)
3
+ [![NPM version](https://img.shields.io/npm/v/devextreme-react.svg?maxAge=43200)](https://www.npmjs.com/package/devextreme-react)
5
4
 
6
- This project allows you to use [DevExtreme widgets](http://js.devexpress.com/Demos/WidgetsGallery/) in [React](https://reactjs.org) applications.
5
+ The `devextreme-react` package contains the [DevExtreme component suite](http://js.devexpress.com/Demos/WidgetsGallery/) for the [React](https://react.dev/) framework.
7
6
 
8
- * [Documentation](https://js.devexpress.com/Documentation/Guide/React_Components/DevExtreme_React_Components/)
9
- * [Technical Demos](https://js.devexpress.com/Demos/WidgetsGallery/Demo/DataGrid/Overview/React/Light/)
10
- * [API Reference](http://js.devexpress.com/Documentation/ApiReference/)
11
- * [Live example](https://stackblitz.com/edit/devextreme-react)
7
+ * [Documentation](https://js.devexpress.com/React/Documentation/Guide/React_Components/DevExtreme_React_Components/)
8
+ * [Demo Gallery](https://js.devexpress.com/React/Demos/WidgetsGallery/Demo/DataGrid/Overview/React/Light/)
9
+ * [Responsive UI Templates](https://js.devexpress.com/React/Templates/UITemplates/)
10
+ * [Application Template](https://js.devexpress.com/React/Documentation/Guide/React_Components/Application_Template/)
12
11
 
13
- ## License ##
12
+ ## License
14
13
 
15
- **DevExtreme React UI Components are released as an MIT-licensed (free and open-source) add-on to DevExtreme.**
14
+ DevExpress distributes the `devextreme-react` package under the free and open-source **MIT** license.
16
15
 
17
- Familiarize yourself with the [DevExtreme License](https://js.devexpress.com/Licensing/). [Free trial is available!](http://js.devexpress.com/Buy/)
16
+ For more information on licensing requirements, read the following articles:
18
17
 
19
- ## Support & Feedback ##
18
+ * [Licensing Guide](https://js.devexpress.com/Angular/Documentation/Guide/Common/Licensing/)
19
+ * [Licensing FAQ](https://js.devexpress.com/Licensing/)
20
+ * [EULA](https://js.devexpress.com/EULAs/DevExtremeComplete/)
20
21
 
21
- If you have questions regarding React functionality, consult [React docs](https://reactjs.org/docs).
22
+ DevExpress offers a [free trial](https://js.devexpress.com/Download/) of the product.
22
23
 
23
- If you want to report a bug, request a feature, or ask a question, submit an [issue](https://github.com/DevExpress/devextreme-react/issues) to this repo. Alternatively, you can contact us at the [DevExpress Support Center](https://www.devexpress.com/Support/Center) if you own an active DevExtreme license.
24
+ ## Support & Feedback
25
+
26
+ For more information on the React framework and how to use it, see this [official documentation](https://react.dev/learn).
27
+
28
+ If you own an [active DevExtreme license](https://js.devexpress.com/Licensing/#Commercial), submit your questions, suggestions, and bug reports to the [DevExpress Support Center](https://www.devexpress.com/sc).
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "../cjs/chat.js",
4
+ "module": "../esm/chat.js",
5
+ "typings": "../cjs/chat.d.ts"
6
+ }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 24.1.8-build-24321-1936
4
- * Build date: Sat Nov 16 2024
3
+ * Version: 24.2.2-beta
4
+ * Build date: Mon Nov 18 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,7 +15,7 @@ export { ExplicitTypes } from "devextreme/ui/accordion";
15
15
  import * as React from "react";
16
16
  import { Ref, ReactElement } from "react";
17
17
  import dxAccordion, { Properties } from "devextreme/ui/accordion";
18
- import { IHtmlOptions, IElementDescriptor } from "./core/component";
18
+ import { IHtmlOptions, NestedComponentMeta } from "./core/component";
19
19
  import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, ItemTitleClickEvent } from "devextreme/ui/accordion";
20
20
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
21
21
  import type { template } from "devextreme/core/templates/template";
@@ -87,8 +87,24 @@ type IItemProps = React.PropsWithChildren<{
87
87
  titleRender?: (...params: any) => React.ReactNode;
88
88
  titleComponent?: React.ComponentType<any>;
89
89
  }>;
90
- declare const _componentItem: React.MemoExoticComponent<(props: IItemProps) => React.FunctionComponentElement<IItemProps>>;
91
- declare const Item: typeof _componentItem & IElementDescriptor;
90
+ declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
91
+ disabled?: boolean | undefined;
92
+ html?: string | undefined;
93
+ icon?: string | undefined;
94
+ template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
95
+ text?: string | undefined;
96
+ title?: string | undefined;
97
+ titleTemplate?: template | (() => string | any) | undefined;
98
+ visible?: boolean | undefined;
99
+ render?: ((...params: any) => React.ReactNode) | undefined;
100
+ component?: React.ComponentType<any> | undefined;
101
+ titleRender?: ((...params: any) => React.ReactNode) | undefined;
102
+ titleComponent?: React.ComponentType<any> | undefined;
103
+ } & {
104
+ children?: React.ReactNode;
105
+ } & {
106
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
107
+ }>>) & NestedComponentMeta;
92
108
  export default Accordion;
93
109
  export { Accordion, IAccordionOptions, AccordionRef, Item, IItemProps };
94
110
  import type * as AccordionTypes from 'devextreme/ui/accordion_types';
package/cjs/accordion.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 24.1.8-build-24321-1936
4
- * Build date: Sat Nov 16 2024
3
+ * Version: 24.2.2-beta
4
+ * Build date: Mon Nov 18 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -89,21 +89,26 @@ const Accordion = (0, react_1.memo)((0, react_1.forwardRef)((props, ref) => {
89
89
  }));
90
90
  }));
91
91
  exports.Accordion = Accordion;
92
- const _componentItem = (0, react_1.memo)((props) => {
93
- return React.createElement((nested_option_1.default), { ...props });
94
- });
92
+ const _componentItem = (props) => {
93
+ return React.createElement((nested_option_1.default), {
94
+ ...props,
95
+ elementDescriptor: {
96
+ OptionName: "items",
97
+ IsCollectionItem: true,
98
+ TemplateProps: [{
99
+ tmplOption: "template",
100
+ render: "render",
101
+ component: "component"
102
+ }, {
103
+ tmplOption: "titleTemplate",
104
+ render: "titleRender",
105
+ component: "titleComponent"
106
+ }],
107
+ },
108
+ });
109
+ };
95
110
  const Item = Object.assign(_componentItem, {
96
- OptionName: "items",
97
- IsCollectionItem: true,
98
- TemplateProps: [{
99
- tmplOption: "template",
100
- render: "render",
101
- component: "component"
102
- }, {
103
- tmplOption: "titleTemplate",
104
- render: "titleRender",
105
- component: "titleComponent"
106
- }],
111
+ componentType: "option",
107
112
  });
108
113
  exports.Item = Item;
109
114
  exports.default = Accordion;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 24.1.8-build-24321-1936
4
- * Build date: Sat Nov 16 2024
3
+ * Version: 24.2.2-beta
4
+ * Build date: Mon Nov 18 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,9 +15,10 @@ export { ExplicitTypes } from "devextreme/ui/action_sheet";
15
15
  import * as React from "react";
16
16
  import { Ref, ReactElement } from "react";
17
17
  import dxActionSheet, { Properties } from "devextreme/ui/action_sheet";
18
- import { IHtmlOptions, IElementDescriptor } from "./core/component";
18
+ import { IHtmlOptions, NestedComponentMeta } from "./core/component";
19
19
  import type { dxActionSheetItem, CancelClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/action_sheet";
20
20
  import type { NativeEventInfo } from "devextreme/events/index";
21
+ import type { ButtonStyle, ButtonType } from "devextreme/common";
21
22
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
22
23
  import type { template } from "devextreme/core/templates/template";
23
24
  type ReplaceFieldTypes<TSource, TReplacement> = {
@@ -62,15 +63,28 @@ type IItemProps = React.PropsWithChildren<{
62
63
  disabled?: boolean;
63
64
  icon?: string;
64
65
  onClick?: ((e: NativeEventInfo<any>) => void);
65
- stylingMode?: "text" | "outlined" | "contained";
66
+ stylingMode?: ButtonStyle;
66
67
  template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
67
68
  text?: string;
68
- type?: "danger" | "default" | "normal" | "success";
69
+ type?: ButtonType;
69
70
  render?: (...params: any) => React.ReactNode;
70
71
  component?: React.ComponentType<any>;
71
72
  }>;
72
- declare const _componentItem: React.MemoExoticComponent<(props: IItemProps) => React.FunctionComponentElement<IItemProps>>;
73
- declare const Item: typeof _componentItem & IElementDescriptor;
73
+ declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
74
+ disabled?: boolean | undefined;
75
+ icon?: string | undefined;
76
+ onClick?: ((e: NativeEventInfo<any>) => void) | undefined;
77
+ stylingMode?: ButtonStyle | undefined;
78
+ template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
79
+ text?: string | undefined;
80
+ type?: ButtonType | undefined;
81
+ render?: ((...params: any) => React.ReactNode) | undefined;
82
+ component?: React.ComponentType<any> | undefined;
83
+ } & {
84
+ children?: React.ReactNode;
85
+ } & {
86
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
87
+ }>>) & NestedComponentMeta;
74
88
  export default ActionSheet;
75
89
  export { ActionSheet, IActionSheetOptions, ActionSheetRef, Item, IItemProps };
76
90
  import type * as ActionSheetTypes from 'devextreme/ui/action_sheet_types';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 24.1.8-build-24321-1936
4
- * Build date: Sat Nov 16 2024
3
+ * Version: 24.2.2-beta
4
+ * Build date: Mon Nov 18 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -81,17 +81,22 @@ const ActionSheet = (0, react_1.memo)((0, react_1.forwardRef)((props, ref) => {
81
81
  }));
82
82
  }));
83
83
  exports.ActionSheet = ActionSheet;
84
- const _componentItem = (0, react_1.memo)((props) => {
85
- return React.createElement((nested_option_1.default), { ...props });
86
- });
84
+ const _componentItem = (props) => {
85
+ return React.createElement((nested_option_1.default), {
86
+ ...props,
87
+ elementDescriptor: {
88
+ OptionName: "items",
89
+ IsCollectionItem: true,
90
+ TemplateProps: [{
91
+ tmplOption: "template",
92
+ render: "render",
93
+ component: "component"
94
+ }],
95
+ },
96
+ });
97
+ };
87
98
  const Item = Object.assign(_componentItem, {
88
- OptionName: "items",
89
- IsCollectionItem: true,
90
- TemplateProps: [{
91
- tmplOption: "template",
92
- render: "render",
93
- component: "component"
94
- }],
99
+ componentType: "option",
95
100
  });
96
101
  exports.Item = Item;
97
102
  exports.default = ActionSheet;