@bryntum/core-react-thin 7.2.4 → 7.3.1

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 (204) hide show
  1. package/lib/BryntumBooleanCombo.d.ts +262 -0
  2. package/lib/BryntumBooleanCombo.js +205 -0
  3. package/lib/BryntumBooleanCombo.js.map +1 -0
  4. package/lib/BryntumButton.d.ts +9 -17
  5. package/lib/BryntumButton.js +1 -2
  6. package/lib/BryntumButton.js.map +1 -1
  7. package/lib/BryntumButtonGroup.d.ts +9 -16
  8. package/lib/BryntumButtonGroup.js +2 -5
  9. package/lib/BryntumButtonGroup.js.map +1 -1
  10. package/lib/BryntumChatPanel.d.ts +19 -23
  11. package/lib/BryntumChatPanel.js +7 -6
  12. package/lib/BryntumChatPanel.js.map +1 -1
  13. package/lib/BryntumCheckbox.d.ts +10 -17
  14. package/lib/BryntumCheckbox.js +2 -2
  15. package/lib/BryntumCheckbox.js.map +1 -1
  16. package/lib/BryntumCheckboxGroup.d.ts +12 -24
  17. package/lib/BryntumCheckboxGroup.js +2 -6
  18. package/lib/BryntumCheckboxGroup.js.map +1 -1
  19. package/lib/BryntumChipView.d.ts +8 -16
  20. package/lib/BryntumChipView.js +1 -2
  21. package/lib/BryntumChipView.js.map +1 -1
  22. package/lib/BryntumCodeEditor.d.ts +12 -23
  23. package/lib/BryntumCodeEditor.js +2 -5
  24. package/lib/BryntumCodeEditor.js.map +1 -1
  25. package/lib/BryntumColorField.d.ts +9 -16
  26. package/lib/BryntumColorField.js +2 -2
  27. package/lib/BryntumColorField.js.map +1 -1
  28. package/lib/BryntumCombo.d.ts +12 -19
  29. package/lib/BryntumCombo.js +2 -2
  30. package/lib/BryntumCombo.js.map +1 -1
  31. package/lib/BryntumContainer.d.ts +8 -15
  32. package/lib/BryntumContainer.js +2 -5
  33. package/lib/BryntumContainer.js.map +1 -1
  34. package/lib/BryntumDateField.d.ts +9 -16
  35. package/lib/BryntumDateField.js +2 -2
  36. package/lib/BryntumDateField.js.map +1 -1
  37. package/lib/BryntumDatePicker.d.ts +12 -23
  38. package/lib/BryntumDatePicker.js +2 -5
  39. package/lib/BryntumDatePicker.js.map +1 -1
  40. package/lib/BryntumDateRangeField.d.ts +12 -19
  41. package/lib/BryntumDateRangeField.js +2 -2
  42. package/lib/BryntumDateRangeField.js.map +1 -1
  43. package/lib/BryntumDateTimeField.d.ts +9 -16
  44. package/lib/BryntumDateTimeField.js +2 -2
  45. package/lib/BryntumDateTimeField.js.map +1 -1
  46. package/lib/BryntumDemoCodeEditor.d.ts +12 -23
  47. package/lib/BryntumDemoCodeEditor.js +2 -5
  48. package/lib/BryntumDemoCodeEditor.js.map +1 -1
  49. package/lib/BryntumDisplayField.d.ts +9 -16
  50. package/lib/BryntumDisplayField.js +2 -2
  51. package/lib/BryntumDisplayField.js.map +1 -1
  52. package/lib/BryntumDurationField.d.ts +9 -16
  53. package/lib/BryntumDurationField.js +2 -2
  54. package/lib/BryntumDurationField.js.map +1 -1
  55. package/lib/BryntumEditor.d.ts +14 -24
  56. package/lib/BryntumEditor.js +2 -5
  57. package/lib/BryntumEditor.js.map +1 -1
  58. package/lib/BryntumFieldFilterPicker.d.ts +8 -15
  59. package/lib/BryntumFieldFilterPicker.js +2 -5
  60. package/lib/BryntumFieldFilterPicker.js.map +1 -1
  61. package/lib/BryntumFieldFilterPickerGroup.d.ts +9 -16
  62. package/lib/BryntumFieldFilterPickerGroup.js +2 -5
  63. package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
  64. package/lib/BryntumFieldSet.d.ts +12 -24
  65. package/lib/BryntumFieldSet.js +2 -6
  66. package/lib/BryntumFieldSet.js.map +1 -1
  67. package/lib/BryntumFileField.d.ts +9 -16
  68. package/lib/BryntumFileField.js +2 -2
  69. package/lib/BryntumFileField.js.map +1 -1
  70. package/lib/BryntumFilePicker.d.ts +8 -15
  71. package/lib/BryntumFilePicker.js +2 -5
  72. package/lib/BryntumFilePicker.js.map +1 -1
  73. package/lib/BryntumFilterField.d.ts +9 -16
  74. package/lib/BryntumFilterField.js +2 -2
  75. package/lib/BryntumFilterField.js.map +1 -1
  76. package/lib/BryntumHint.d.ts +24 -33
  77. package/lib/BryntumHint.js +2 -5
  78. package/lib/BryntumHint.js.map +1 -1
  79. package/lib/BryntumLabel.d.ts +7 -15
  80. package/lib/BryntumLabel.js +1 -2
  81. package/lib/BryntumLabel.js.map +1 -1
  82. package/lib/BryntumList.d.ts +8 -16
  83. package/lib/BryntumList.js +1 -2
  84. package/lib/BryntumList.js.map +1 -1
  85. package/lib/BryntumMenu.d.ts +23 -28
  86. package/lib/BryntumMenu.js +2 -6
  87. package/lib/BryntumMenu.js.map +1 -1
  88. package/lib/BryntumMonthPicker.d.ts +12 -23
  89. package/lib/BryntumMonthPicker.js +2 -5
  90. package/lib/BryntumMonthPicker.js.map +1 -1
  91. package/lib/BryntumNumberField.d.ts +9 -16
  92. package/lib/BryntumNumberField.js +2 -2
  93. package/lib/BryntumNumberField.js.map +1 -1
  94. package/lib/BryntumPagingToolbar.d.ts +12 -19
  95. package/lib/BryntumPagingToolbar.js +2 -5
  96. package/lib/BryntumPagingToolbar.js.map +1 -1
  97. package/lib/BryntumPanel.d.ts +12 -23
  98. package/lib/BryntumPanel.js +2 -5
  99. package/lib/BryntumPanel.js.map +1 -1
  100. package/lib/BryntumPasswordField.d.ts +9 -16
  101. package/lib/BryntumPasswordField.js +2 -2
  102. package/lib/BryntumPasswordField.js.map +1 -1
  103. package/lib/BryntumProgressBar.d.ts +7 -15
  104. package/lib/BryntumProgressBar.js +1 -2
  105. package/lib/BryntumProgressBar.js.map +1 -1
  106. package/lib/BryntumRadio.d.ts +10 -17
  107. package/lib/BryntumRadio.js +2 -2
  108. package/lib/BryntumRadio.js.map +1 -1
  109. package/lib/BryntumRadioGroup.d.ts +12 -24
  110. package/lib/BryntumRadioGroup.js +2 -6
  111. package/lib/BryntumRadioGroup.js.map +1 -1
  112. package/lib/BryntumSlideToggle.d.ts +10 -17
  113. package/lib/BryntumSlideToggle.js +2 -2
  114. package/lib/BryntumSlideToggle.js.map +1 -1
  115. package/lib/BryntumSlider.d.ts +8 -15
  116. package/lib/BryntumSlider.js +2 -2
  117. package/lib/BryntumSlider.js.map +1 -1
  118. package/lib/BryntumSplitter.d.ts +7 -15
  119. package/lib/BryntumSplitter.js +1 -2
  120. package/lib/BryntumSplitter.js.map +1 -1
  121. package/lib/BryntumTabPanel.d.ts +13 -24
  122. package/lib/BryntumTabPanel.js +2 -5
  123. package/lib/BryntumTabPanel.js.map +1 -1
  124. package/lib/BryntumTextAreaField.d.ts +10 -16
  125. package/lib/BryntumTextAreaField.js +3 -2
  126. package/lib/BryntumTextAreaField.js.map +1 -1
  127. package/lib/BryntumTextAreaPickerField.d.ts +10 -17
  128. package/lib/BryntumTextAreaPickerField.js +2 -2
  129. package/lib/BryntumTextAreaPickerField.js.map +1 -1
  130. package/lib/BryntumTextField.d.ts +9 -16
  131. package/lib/BryntumTextField.js +2 -2
  132. package/lib/BryntumTextField.js.map +1 -1
  133. package/lib/BryntumTimeField.d.ts +10 -17
  134. package/lib/BryntumTimeField.js +2 -2
  135. package/lib/BryntumTimeField.js.map +1 -1
  136. package/lib/BryntumTimePicker.d.ts +8 -15
  137. package/lib/BryntumTimePicker.js +2 -5
  138. package/lib/BryntumTimePicker.js.map +1 -1
  139. package/lib/BryntumToolbar.d.ts +12 -19
  140. package/lib/BryntumToolbar.js +2 -5
  141. package/lib/BryntumToolbar.js.map +1 -1
  142. package/lib/BryntumWidget.d.ts +7 -15
  143. package/lib/BryntumWidget.js +1 -2
  144. package/lib/BryntumWidget.js.map +1 -1
  145. package/lib/BryntumYearPicker.d.ts +12 -23
  146. package/lib/BryntumYearPicker.js +2 -5
  147. package/lib/BryntumYearPicker.js.map +1 -1
  148. package/lib/WrapperHelper.js +2 -2
  149. package/lib/WrapperHelper.js.map +1 -1
  150. package/lib/index.d.ts +1 -0
  151. package/lib/index.js +1 -0
  152. package/lib/index.js.map +1 -1
  153. package/package.json +1 -1
  154. package/src/BryntumBooleanCombo.tsx +1190 -0
  155. package/src/BryntumButton.tsx +72 -118
  156. package/src/BryntumButtonGroup.tsx +79 -124
  157. package/src/BryntumChatPanel.tsx +142 -172
  158. package/src/BryntumCheckbox.tsx +85 -119
  159. package/src/BryntumCheckboxGroup.tsx +112 -182
  160. package/src/BryntumChipView.tsx +67 -107
  161. package/src/BryntumCodeEditor.tsx +109 -170
  162. package/src/BryntumColorField.tsx +84 -118
  163. package/src/BryntumCombo.tsx +103 -153
  164. package/src/BryntumContainer.tsx +79 -125
  165. package/src/BryntumDateField.tsx +91 -124
  166. package/src/BryntumDatePicker.tsx +122 -196
  167. package/src/BryntumDateRangeField.tsx +90 -127
  168. package/src/BryntumDateTimeField.tsx +84 -118
  169. package/src/BryntumDemoCodeEditor.tsx +109 -170
  170. package/src/BryntumDisplayField.tsx +85 -120
  171. package/src/BryntumDurationField.tsx +91 -126
  172. package/src/BryntumEditor.tsx +95 -145
  173. package/src/BryntumFieldFilterPicker.tsx +81 -129
  174. package/src/BryntumFieldFilterPickerGroup.tsx +84 -134
  175. package/src/BryntumFieldSet.tsx +108 -175
  176. package/src/BryntumFileField.tsx +84 -118
  177. package/src/BryntumFilePicker.tsx +79 -125
  178. package/src/BryntumFilterField.tsx +87 -124
  179. package/src/BryntumHint.tsx +136 -193
  180. package/src/BryntumLabel.tsx +60 -96
  181. package/src/BryntumList.tsx +64 -103
  182. package/src/BryntumMenu.tsx +131 -191
  183. package/src/BryntumMonthPicker.tsx +109 -170
  184. package/src/BryntumNumberField.tsx +88 -122
  185. package/src/BryntumPagingToolbar.tsx +84 -131
  186. package/src/BryntumPanel.tsx +109 -170
  187. package/src/BryntumPasswordField.tsx +84 -118
  188. package/src/BryntumProgressBar.tsx +59 -94
  189. package/src/BryntumRadio.tsx +85 -119
  190. package/src/BryntumRadioGroup.tsx +112 -181
  191. package/src/BryntumSlideToggle.tsx +85 -119
  192. package/src/BryntumSlider.tsx +68 -102
  193. package/src/BryntumSplitter.tsx +62 -100
  194. package/src/BryntumTabPanel.tsx +111 -173
  195. package/src/BryntumTextAreaField.tsx +92 -120
  196. package/src/BryntumTextAreaPickerField.tsx +86 -121
  197. package/src/BryntumTextField.tsx +85 -120
  198. package/src/BryntumTimeField.tsx +90 -121
  199. package/src/BryntumTimePicker.tsx +79 -125
  200. package/src/BryntumToolbar.tsx +84 -131
  201. package/src/BryntumWidget.tsx +60 -96
  202. package/src/BryntumYearPicker.tsx +110 -172
  203. package/src/WrapperHelper.tsx +2 -2
  204. package/src/index.ts +1 -0
@@ -3,7 +3,7 @@
3
3
  */
4
4
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
5
  import React, { RefObject } from 'react';
6
- import { AlignSpec, Base, Collection, CollectionConfig, Color, DomConfig, KeyMapConfig, List, ListListeners, MaskConfig, Model, ModelConfig, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { AlignSpec, Base, Collection, CollectionConfig, Color, DomConfig, KeyMapConfig, List, ListListeners, MaskConfig, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
7
7
 
8
8
  import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
9
 
@@ -17,14 +17,12 @@ export type BryntumListProps = {
17
17
  /**
18
18
  * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
19
19
  * content will be placed inside this element.
20
- * ...
21
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-adopt)
20
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-adopt)
22
21
  */
23
22
  adopt? : HTMLElement|string
24
23
  /**
25
24
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
26
- * ...
27
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-align)
25
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-align)
28
26
  */
29
27
  align? : AlignSpec|string
30
28
  /**
@@ -51,35 +49,30 @@ export type BryntumListProps = {
51
49
  /**
52
50
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
53
51
  * into an element which will be linked using the `aria-describedby` attribute.
54
- * ...
55
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ariaDescription)
52
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ariaDescription)
56
53
  */
57
54
  ariaDescription? : string
58
55
  /**
59
56
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
60
57
  * the `aria-label` attribute.
61
- * ...
62
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ariaLabel)
58
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ariaLabel)
63
59
  */
64
60
  ariaLabel? : string
65
61
  /**
66
62
  * An object where property names with a truthy value indicate which events should bubble up the ownership
67
63
  * hierarchy when triggered.
68
- * ...
69
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-bubbleEvents)
64
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-bubbleEvents)
70
65
  */
71
66
  bubbleEvents? : object
72
67
  /**
73
68
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
74
- * ...
75
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-callOnFunctions)
69
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-callOnFunctions)
76
70
  */
77
71
  callOnFunctions? : boolean
78
72
  /**
79
73
  * By default, if an event handler throws an exception, the error propagates up the stack and the
80
74
  * application state is undefined. Code which follows the event handler will *not* be executed.
81
- * ...
82
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-catchEventHandlerExceptions)
75
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-catchEventHandlerExceptions)
83
76
  */
84
77
  catchEventHandlerExceptions? : boolean
85
78
  /**
@@ -95,8 +88,7 @@ export type BryntumListProps = {
95
88
  * Custom CSS classes to add to element.
96
89
  * May be specified as a space separated string, or as an object in which property names
97
90
  * with truthy values are used as the class names:
98
- * ...
99
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-cls)
91
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-cls)
100
92
  */
101
93
  cls? : string|object
102
94
  /**
@@ -106,8 +98,7 @@ export type BryntumListProps = {
106
98
  /**
107
99
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
108
100
  * `style` block.
109
- * ...
110
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-color)
101
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-color)
111
102
  */
112
103
  color? : Color
113
104
  /**
@@ -131,8 +122,7 @@ export type BryntumListProps = {
131
122
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
132
123
  * May be specified as a space separated string, or as an object in which property names
133
124
  * with truthy values are used as the class names:
134
- * ...
135
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-contentElementCls)
125
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-contentElementCls)
136
126
  */
137
127
  contentElementCls? : string|object
138
128
  /**
@@ -150,16 +140,15 @@ export type BryntumListProps = {
150
140
  */
151
141
  defaultBindProperty? : string
152
142
  /**
153
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
154
- * ...
155
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-detectCSSCompatibilityIssues)
143
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
144
+ * checks:
145
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-detectCSSCompatibilityIssues)
156
146
  */
157
147
  detectCSSCompatibilityIssues? : boolean
158
148
  /**
159
149
  * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
160
150
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
161
- * ...
162
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-disabled)
151
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-disabled)
163
152
  */
164
153
  disabled? : boolean|'inert'
165
154
  /**
@@ -171,25 +160,21 @@ export type BryntumListProps = {
171
160
  * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
172
161
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
173
162
  * body. Such widgets are called "edge strips".
174
- * ...
175
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-dock)
163
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-dock)
176
164
  */
177
165
  dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
178
166
  /**
179
167
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
180
168
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
181
169
  * property which controls when a drag should start.
182
- * ...
183
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-draggable)
170
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-draggable)
171
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
184
172
  */
185
- draggable? : boolean|{
186
- handleSelector?: string
187
- }
173
+ draggable? : boolean|object
188
174
  /**
189
175
  * An object specifying attributes to assign to the root element of this widget.
190
176
  * Set `null` value to attribute to remove it.
191
- * ...
192
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-elementAttributes)
177
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-elementAttributes)
193
178
  */
194
179
  elementAttributes? : Record<string, string|null>
195
180
  /**
@@ -244,18 +229,15 @@ export type BryntumListProps = {
244
229
  hidden? : boolean
245
230
  /**
246
231
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
247
- * ...
248
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-hideAnimation)
232
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-hideAnimation)
249
233
  */
250
234
  hideAnimation? : boolean|object
251
235
  /**
252
236
  * The HTML to display initially or a function returning the markup (called at widget construction time).
253
- * ...
254
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-html)
237
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-html)
255
238
  * @param {Core.widget.Widget} widget The calling Widget
256
- * @returns {string}
257
239
  */
258
- html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
240
+ html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
259
241
  /**
260
242
  * The CSS class(es) to add when HTML content is being applied to this widget.
261
243
  */
@@ -266,8 +248,7 @@ export type BryntumListProps = {
266
248
  id? : string
267
249
  /**
268
250
  * Determines if the widgets read-only state should be controlled by its parent.
269
- * ...
270
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ignoreParentReadOnly)
251
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ignoreParentReadOnly)
271
252
  */
272
253
  ignoreParentReadOnly? : boolean
273
254
  /**
@@ -301,22 +282,19 @@ export type BryntumListProps = {
301
282
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
302
283
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
303
284
  * are the name of the instance method to call when the keystroke is received.
304
- * ...
305
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-keyMap)
285
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-keyMap)
306
286
  */
307
287
  keyMap? : Record<string, KeyMapConfig>
308
288
  /**
309
289
  * The listener set for this object.
310
- * ...
311
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-listeners)
290
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-listeners)
312
291
  */
313
292
  listeners? : ListListeners
314
293
  /**
315
294
  * A class translations of which are used for translating this entity.
316
295
  * This is often used when translations of an item are defined on its container class.
317
296
  * For example:
318
- * ...
319
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-localeClass)
297
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-localeClass)
320
298
  */
321
299
  localeClass? : typeof Base
322
300
  /**
@@ -328,8 +306,7 @@ export type BryntumListProps = {
328
306
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
329
307
  * you could use 'localeKey' meta configuration.
330
308
  * Example:
331
- * ...
332
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-localizableProperties)
309
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-localizableProperties)
333
310
  */
334
311
  localizableProperties? : string[]
335
312
  /**
@@ -355,8 +332,7 @@ export type BryntumListProps = {
355
332
  maxHeight? : string|number
356
333
  /**
357
334
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
358
- * ...
359
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-maximizeOnMobile)
335
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-maximizeOnMobile)
360
336
  */
361
337
  maximizeOnMobile? : number|string
362
338
  /**
@@ -378,12 +354,10 @@ export type BryntumListProps = {
378
354
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
379
355
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
380
356
  * layout.
381
- * ...
382
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-monitorResize)
357
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-monitorResize)
358
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
383
359
  */
384
- monitorResize? : boolean|{
385
- immediate?: boolean
386
- }
360
+ monitorResize? : boolean|object
387
361
  /**
388
362
  * Configure as `true` to allow multi select and add checkboxes to the items
389
363
  */
@@ -392,8 +366,7 @@ export type BryntumListProps = {
392
366
  * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
393
367
  * not participate in the standard layout of that widget, and must be positioned relatively to that
394
368
  * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
395
- * ...
396
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-positioned)
369
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-positioned)
397
370
  */
398
371
  positioned? : boolean
399
372
  /**
@@ -404,8 +377,7 @@ export type BryntumListProps = {
404
377
  /**
405
378
  * Whether this widget is read-only. This is only valid if the widget is an input
406
379
  * field, <strong>or contains input fields at any depth</strong>.
407
- * ...
408
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-readOnly)
380
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-readOnly)
409
381
  */
410
382
  readOnly? : boolean
411
383
  relayStoreEvents? : boolean
@@ -413,23 +385,26 @@ export type BryntumListProps = {
413
385
  * Configure as `true` to have the component display a translucent ripple when its
414
386
  * [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
415
387
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
416
- * ...
417
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ripple)
418
- */
419
- ripple? : boolean|{
420
- delegate?: string
421
- color?: string
422
- radius?: number
423
- clip?: string
424
- }
388
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ripple)
389
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
390
+ * @property {string} [color] A CSS color name or specification.
391
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
392
+ * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
393
+ */
394
+ ripple? : boolean|object
395
+ /**
396
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
397
+ * accidentally applying a role which may interfere with screen readers.
398
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-role)
399
+ */
400
+ role? : string
425
401
  /**
426
402
  * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
427
403
  */
428
404
  rootElement? : ShadowRoot|HTMLElement
429
405
  /**
430
406
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
431
- * ...
432
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-rtl)
407
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-rtl)
433
408
  */
434
409
  rtl? : boolean
435
410
  /**
@@ -437,8 +412,7 @@ export type BryntumListProps = {
437
412
  * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
438
413
  * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
439
414
  * CSS overflow properties thus:
440
- * ...
441
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-scrollable)
415
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-scrollable)
442
416
  */
443
417
  scrollable? : boolean|ScrollerConfig|Scroller
444
418
  /**
@@ -454,14 +428,12 @@ export type BryntumListProps = {
454
428
  /**
455
429
  * A [Collection](https://bryntum.com/products/core/docs/api/Core/util/Collection), or Collection config object to use to contain this List's selected
456
430
  * records.
457
- * ...
458
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-selected)
431
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-selected)
459
432
  */
460
433
  selected? : object[]|number[]|string[]|Collection|CollectionConfig|CollectionConfig[]
461
434
  /**
462
435
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
463
- * ...
464
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-showAnimation)
436
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-showAnimation)
465
437
  */
466
438
  showAnimation? : boolean|object
467
439
  /**
@@ -475,16 +447,14 @@ export type BryntumListProps = {
475
447
  /**
476
448
  * A [Store](https://bryntum.com/products/core/docs/api/Core/data/Store) which provides the records which map to List items. Each record is passed through the
477
449
  * [itemTpl](https://bryntum.com/products/core/docs/api/Core/widget/List#config-itemTpl) to produce the DOM structure of the List. May be generated from an array of [items](#Core/widget/List#config-items).
478
- * ...
479
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-store)
450
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-store)
480
451
  */
481
452
  store? : object|object[]|StoreConfig|Store|StoreConfig[]
482
453
  /**
483
454
  * A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a
484
455
  * [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
485
456
  * this widget:
486
- * ...
487
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-tab)
457
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-tab)
488
458
  */
489
459
  tab? : boolean|TabConfig
490
460
  /**
@@ -493,8 +463,7 @@ export type BryntumListProps = {
493
463
  tag? : string
494
464
  /**
495
465
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
496
- * ...
497
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-textAlign)
466
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-textAlign)
498
467
  */
499
468
  textAlign? : 'left'|'center'|'right'|'start'|'end'
500
469
  /**
@@ -507,8 +476,7 @@ export type BryntumListProps = {
507
476
  toggleAllIfCtrlPressed? : boolean
508
477
  /**
509
478
  * Tooltip for the widget, either as a string or as a Tooltip config object.
510
- * ...
511
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-tooltip)
479
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-tooltip)
512
480
  */
513
481
  tooltip? : string|TooltipConfig|null
514
482
  /**
@@ -522,16 +490,14 @@ export type BryntumListProps = {
522
490
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
523
491
  * as a space separated string, an array of strings, or as an object in which property names with truthy
524
492
  * values are used as the class names.
525
- * ...
526
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ui)
493
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-ui)
527
494
  */
528
495
  ui? : string|object
529
496
  /**
530
497
  * Controls virtualization of list items using the `IntersectionObserver` API to render items only when
531
498
  * scrolled into view. This is only useful for lists with complex markup, for simple lists it likely adds
532
499
  * overhead.
533
- * ...
534
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-virtualize)
500
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-virtualize)
535
501
  */
536
502
  virtualize? : boolean|number
537
503
  /**
@@ -547,14 +513,12 @@ export type BryntumListProps = {
547
513
  width? : string|number
548
514
  /**
549
515
  * The x position for the widget.
550
- * ...
551
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-x)
516
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-x)
552
517
  */
553
518
  x? : number
554
519
  /**
555
520
  * The y position for the widget.
556
- * ...
557
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-y)
521
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-y)
558
522
  */
559
523
  y? : number
560
524
 
@@ -570,7 +534,7 @@ export type BryntumListProps = {
570
534
  * @param {object} event Event object
571
535
  * @param {Core.widget.Widget} event.source The widget being hidden.
572
536
  */
573
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
537
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
574
538
  /**
575
539
  * User going to activate an item in the list either by pointer or keyboard.
576
540
  * The active record, list item index, and the triggering event are passed.
@@ -582,7 +546,7 @@ export type BryntumListProps = {
582
546
  * @param {number} event.index List item index
583
547
  * @param {Event} event.event Triggering event
584
548
  */
585
- onBeforeItem? : ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => Promise<boolean>|boolean|void)|string
549
+ onBeforeItem? : ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string
586
550
  /**
587
551
  * Triggered before a widget is shown. Return `false` to prevent the action.
588
552
  * @param {object} event Event object
@@ -591,8 +555,7 @@ export type BryntumListProps = {
591
555
  onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
592
556
  /**
593
557
  * Fires when any other event is fired from the object.
594
- * ...
595
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#event-catchAll)
558
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#event-catchAll)
596
559
  * @param {object} event Event object
597
560
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
598
561
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -654,8 +617,7 @@ export type BryntumListProps = {
654
617
  /**
655
618
  * Triggered when a widget which had been in a non-visible state for any reason
656
619
  * achieves visibility.
657
- * ...
658
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/List#event-paint)
620
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#event-paint)
659
621
  * @param {object} event Event object
660
622
  * @param {Core.widget.Widget} event.source The widget being painted.
661
623
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -760,6 +722,7 @@ export class BryntumList extends React.Component<BryntumListProps> {
760
722
  'preventTooltipOnTouch',
761
723
  'relayStoreEvents',
762
724
  'ripple',
725
+ 'role',
763
726
  'rootElement',
764
727
  'scrollAction',
765
728
  'selectAllItem',
@@ -840,8 +803,6 @@ export class BryntumList extends React.Component<BryntumListProps> {
840
803
  ];
841
804
 
842
805
  static propertyNames = [
843
- 'anchorSize',
844
- 'focusVisible',
845
806
  'parent'
846
807
  ];
847
808