@bryntum/core-react-thin 7.2.3 → 7.3.0

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 +261 -0
  2. package/lib/BryntumBooleanCombo.js +204 -0
  3. package/lib/BryntumBooleanCombo.js.map +1 -0
  4. package/lib/BryntumButton.d.ts +6 -14
  5. package/lib/BryntumButton.js +1 -2
  6. package/lib/BryntumButton.js.map +1 -1
  7. package/lib/BryntumButtonGroup.d.ts +8 -15
  8. package/lib/BryntumButtonGroup.js +2 -5
  9. package/lib/BryntumButtonGroup.js.map +1 -1
  10. package/lib/BryntumChatPanel.d.ts +16 -20
  11. package/lib/BryntumChatPanel.js +7 -6
  12. package/lib/BryntumChatPanel.js.map +1 -1
  13. package/lib/BryntumCheckbox.d.ts +7 -15
  14. package/lib/BryntumCheckbox.js +1 -2
  15. package/lib/BryntumCheckbox.js.map +1 -1
  16. package/lib/BryntumCheckboxGroup.d.ts +9 -21
  17. package/lib/BryntumCheckboxGroup.js +2 -6
  18. package/lib/BryntumCheckboxGroup.js.map +1 -1
  19. package/lib/BryntumChipView.d.ts +6 -14
  20. package/lib/BryntumChipView.js +1 -2
  21. package/lib/BryntumChipView.js.map +1 -1
  22. package/lib/BryntumCodeEditor.d.ts +9 -20
  23. package/lib/BryntumCodeEditor.js +2 -5
  24. package/lib/BryntumCodeEditor.js.map +1 -1
  25. package/lib/BryntumColorField.d.ts +7 -15
  26. package/lib/BryntumColorField.js +1 -2
  27. package/lib/BryntumColorField.js.map +1 -1
  28. package/lib/BryntumCombo.d.ts +10 -18
  29. package/lib/BryntumCombo.js +1 -2
  30. package/lib/BryntumCombo.js.map +1 -1
  31. package/lib/BryntumContainer.d.ts +7 -14
  32. package/lib/BryntumContainer.js +2 -5
  33. package/lib/BryntumContainer.js.map +1 -1
  34. package/lib/BryntumDateField.d.ts +7 -15
  35. package/lib/BryntumDateField.js +1 -2
  36. package/lib/BryntumDateField.js.map +1 -1
  37. package/lib/BryntumDatePicker.d.ts +9 -20
  38. package/lib/BryntumDatePicker.js +2 -5
  39. package/lib/BryntumDatePicker.js.map +1 -1
  40. package/lib/BryntumDateRangeField.d.ts +10 -18
  41. package/lib/BryntumDateRangeField.js +1 -2
  42. package/lib/BryntumDateRangeField.js.map +1 -1
  43. package/lib/BryntumDateTimeField.d.ts +7 -15
  44. package/lib/BryntumDateTimeField.js +1 -2
  45. package/lib/BryntumDateTimeField.js.map +1 -1
  46. package/lib/BryntumDemoCodeEditor.d.ts +9 -20
  47. package/lib/BryntumDemoCodeEditor.js +2 -5
  48. package/lib/BryntumDemoCodeEditor.js.map +1 -1
  49. package/lib/BryntumDisplayField.d.ts +7 -15
  50. package/lib/BryntumDisplayField.js +1 -2
  51. package/lib/BryntumDisplayField.js.map +1 -1
  52. package/lib/BryntumDurationField.d.ts +7 -15
  53. package/lib/BryntumDurationField.js +1 -2
  54. package/lib/BryntumDurationField.js.map +1 -1
  55. package/lib/BryntumEditor.d.ts +9 -19
  56. package/lib/BryntumEditor.js +2 -5
  57. package/lib/BryntumEditor.js.map +1 -1
  58. package/lib/BryntumFieldFilterPicker.d.ts +7 -14
  59. package/lib/BryntumFieldFilterPicker.js +2 -5
  60. package/lib/BryntumFieldFilterPicker.js.map +1 -1
  61. package/lib/BryntumFieldFilterPickerGroup.d.ts +7 -14
  62. package/lib/BryntumFieldFilterPickerGroup.js +2 -5
  63. package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
  64. package/lib/BryntumFieldSet.d.ts +9 -21
  65. package/lib/BryntumFieldSet.js +2 -6
  66. package/lib/BryntumFieldSet.js.map +1 -1
  67. package/lib/BryntumFileField.d.ts +7 -15
  68. package/lib/BryntumFileField.js +1 -2
  69. package/lib/BryntumFileField.js.map +1 -1
  70. package/lib/BryntumFilePicker.d.ts +7 -14
  71. package/lib/BryntumFilePicker.js +2 -5
  72. package/lib/BryntumFilePicker.js.map +1 -1
  73. package/lib/BryntumFilterField.d.ts +7 -15
  74. package/lib/BryntumFilterField.js +1 -2
  75. package/lib/BryntumFilterField.js.map +1 -1
  76. package/lib/BryntumHint.d.ts +21 -30
  77. package/lib/BryntumHint.js +2 -5
  78. package/lib/BryntumHint.js.map +1 -1
  79. package/lib/BryntumLabel.d.ts +6 -14
  80. package/lib/BryntumLabel.js +1 -2
  81. package/lib/BryntumLabel.js.map +1 -1
  82. package/lib/BryntumList.d.ts +6 -14
  83. package/lib/BryntumList.js +1 -2
  84. package/lib/BryntumList.js.map +1 -1
  85. package/lib/BryntumMenu.d.ts +20 -25
  86. package/lib/BryntumMenu.js +2 -6
  87. package/lib/BryntumMenu.js.map +1 -1
  88. package/lib/BryntumMonthPicker.d.ts +9 -20
  89. package/lib/BryntumMonthPicker.js +2 -5
  90. package/lib/BryntumMonthPicker.js.map +1 -1
  91. package/lib/BryntumNumberField.d.ts +7 -15
  92. package/lib/BryntumNumberField.js +1 -2
  93. package/lib/BryntumNumberField.js.map +1 -1
  94. package/lib/BryntumPagingToolbar.d.ts +10 -17
  95. package/lib/BryntumPagingToolbar.js +2 -5
  96. package/lib/BryntumPagingToolbar.js.map +1 -1
  97. package/lib/BryntumPanel.d.ts +9 -20
  98. package/lib/BryntumPanel.js +2 -5
  99. package/lib/BryntumPanel.js.map +1 -1
  100. package/lib/BryntumPasswordField.d.ts +7 -15
  101. package/lib/BryntumPasswordField.js +1 -2
  102. package/lib/BryntumPasswordField.js.map +1 -1
  103. package/lib/BryntumProgressBar.d.ts +6 -14
  104. package/lib/BryntumProgressBar.js +1 -2
  105. package/lib/BryntumProgressBar.js.map +1 -1
  106. package/lib/BryntumRadio.d.ts +7 -15
  107. package/lib/BryntumRadio.js +1 -2
  108. package/lib/BryntumRadio.js.map +1 -1
  109. package/lib/BryntumRadioGroup.d.ts +9 -21
  110. package/lib/BryntumRadioGroup.js +2 -6
  111. package/lib/BryntumRadioGroup.js.map +1 -1
  112. package/lib/BryntumSlideToggle.d.ts +7 -15
  113. package/lib/BryntumSlideToggle.js +1 -2
  114. package/lib/BryntumSlideToggle.js.map +1 -1
  115. package/lib/BryntumSlider.d.ts +7 -14
  116. package/lib/BryntumSlider.js +2 -2
  117. package/lib/BryntumSlider.js.map +1 -1
  118. package/lib/BryntumSplitter.d.ts +6 -14
  119. package/lib/BryntumSplitter.js +1 -2
  120. package/lib/BryntumSplitter.js.map +1 -1
  121. package/lib/BryntumTabPanel.d.ts +9 -20
  122. package/lib/BryntumTabPanel.js +2 -5
  123. package/lib/BryntumTabPanel.js.map +1 -1
  124. package/lib/BryntumTextAreaField.d.ts +8 -15
  125. package/lib/BryntumTextAreaField.js +2 -2
  126. package/lib/BryntumTextAreaField.js.map +1 -1
  127. package/lib/BryntumTextAreaPickerField.d.ts +8 -16
  128. package/lib/BryntumTextAreaPickerField.js +1 -2
  129. package/lib/BryntumTextAreaPickerField.js.map +1 -1
  130. package/lib/BryntumTextField.d.ts +7 -15
  131. package/lib/BryntumTextField.js +1 -2
  132. package/lib/BryntumTextField.js.map +1 -1
  133. package/lib/BryntumTimeField.d.ts +8 -16
  134. package/lib/BryntumTimeField.js +1 -2
  135. package/lib/BryntumTimeField.js.map +1 -1
  136. package/lib/BryntumTimePicker.d.ts +7 -14
  137. package/lib/BryntumTimePicker.js +2 -5
  138. package/lib/BryntumTimePicker.js.map +1 -1
  139. package/lib/BryntumToolbar.d.ts +10 -17
  140. package/lib/BryntumToolbar.js +2 -5
  141. package/lib/BryntumToolbar.js.map +1 -1
  142. package/lib/BryntumWidget.d.ts +6 -14
  143. package/lib/BryntumWidget.js +1 -2
  144. package/lib/BryntumWidget.js.map +1 -1
  145. package/lib/BryntumYearPicker.d.ts +9 -20
  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 +1180 -0
  155. package/src/BryntumButton.tsx +69 -115
  156. package/src/BryntumButtonGroup.tsx +78 -123
  157. package/src/BryntumChatPanel.tsx +139 -169
  158. package/src/BryntumCheckbox.tsx +73 -117
  159. package/src/BryntumCheckboxGroup.tsx +109 -179
  160. package/src/BryntumChipView.tsx +65 -105
  161. package/src/BryntumCodeEditor.tsx +106 -167
  162. package/src/BryntumColorField.tsx +73 -117
  163. package/src/BryntumCombo.tsx +92 -152
  164. package/src/BryntumContainer.tsx +78 -124
  165. package/src/BryntumDateField.tsx +80 -123
  166. package/src/BryntumDatePicker.tsx +119 -193
  167. package/src/BryntumDateRangeField.tsx +79 -126
  168. package/src/BryntumDateTimeField.tsx +73 -117
  169. package/src/BryntumDemoCodeEditor.tsx +106 -167
  170. package/src/BryntumDisplayField.tsx +74 -119
  171. package/src/BryntumDurationField.tsx +80 -125
  172. package/src/BryntumEditor.tsx +90 -140
  173. package/src/BryntumFieldFilterPicker.tsx +80 -128
  174. package/src/BryntumFieldFilterPickerGroup.tsx +82 -132
  175. package/src/BryntumFieldSet.tsx +105 -172
  176. package/src/BryntumFileField.tsx +73 -117
  177. package/src/BryntumFilePicker.tsx +78 -124
  178. package/src/BryntumFilterField.tsx +76 -123
  179. package/src/BryntumHint.tsx +133 -190
  180. package/src/BryntumLabel.tsx +59 -95
  181. package/src/BryntumList.tsx +62 -101
  182. package/src/BryntumMenu.tsx +128 -188
  183. package/src/BryntumMonthPicker.tsx +106 -167
  184. package/src/BryntumNumberField.tsx +77 -121
  185. package/src/BryntumPagingToolbar.tsx +82 -129
  186. package/src/BryntumPanel.tsx +106 -167
  187. package/src/BryntumPasswordField.tsx +73 -117
  188. package/src/BryntumProgressBar.tsx +58 -93
  189. package/src/BryntumRadio.tsx +73 -117
  190. package/src/BryntumRadioGroup.tsx +109 -178
  191. package/src/BryntumSlideToggle.tsx +73 -117
  192. package/src/BryntumSlider.tsx +67 -101
  193. package/src/BryntumSplitter.tsx +61 -99
  194. package/src/BryntumTabPanel.tsx +107 -169
  195. package/src/BryntumTextAreaField.tsx +81 -119
  196. package/src/BryntumTextAreaPickerField.tsx +75 -120
  197. package/src/BryntumTextField.tsx +74 -119
  198. package/src/BryntumTimeField.tsx +79 -120
  199. package/src/BryntumTimePicker.tsx +78 -124
  200. package/src/BryntumToolbar.tsx +82 -129
  201. package/src/BryntumWidget.tsx +59 -95
  202. package/src/BryntumYearPicker.tsx +107 -169
  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, ButtonConfig, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, FileFieldConfig, FilePicker, FilePickerListeners, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { AlignSpec, Base, ButtonConfig, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, FileFieldConfig, FilePicker, FilePickerListeners, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
7
7
 
8
8
  import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
9
 
@@ -12,14 +12,12 @@ export type BryntumFilePickerProps = {
12
12
  /**
13
13
  * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
14
14
  * content will be placed inside this element.
15
- * ...
16
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-adopt)
15
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-adopt)
17
16
  */
18
17
  adopt? : HTMLElement|string
19
18
  /**
20
19
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
21
- * ...
22
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-align)
20
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-align)
23
21
  */
24
22
  align? : AlignSpec|string
25
23
  /**
@@ -41,15 +39,13 @@ export type BryntumFilePickerProps = {
41
39
  /**
42
40
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
43
41
  * into an element which will be linked using the `aria-describedby` attribute.
44
- * ...
45
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ariaDescription)
42
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ariaDescription)
46
43
  */
47
44
  ariaDescription? : string
48
45
  /**
49
46
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
50
47
  * the `aria-label` attribute.
51
- * ...
52
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ariaLabel)
48
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ariaLabel)
53
49
  */
54
50
  ariaLabel? : string
55
51
  /**
@@ -63,8 +59,7 @@ export type BryntumFilePickerProps = {
63
59
  /**
64
60
  * An object where property names with a truthy value indicate which events should bubble up the ownership
65
61
  * hierarchy when triggered.
66
- * ...
67
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-bubbleEvents)
62
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-bubbleEvents)
68
63
  */
69
64
  bubbleEvents? : object
70
65
  /**
@@ -73,15 +68,13 @@ export type BryntumFilePickerProps = {
73
68
  buttonConfig? : ButtonConfig
74
69
  /**
75
70
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
76
- * ...
77
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-callOnFunctions)
71
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-callOnFunctions)
78
72
  */
79
73
  callOnFunctions? : boolean
80
74
  /**
81
75
  * By default, if an event handler throws an exception, the error propagates up the stack and the
82
76
  * application state is undefined. Code which follows the event handler will *not* be executed.
83
- * ...
84
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-catchEventHandlerExceptions)
77
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-catchEventHandlerExceptions)
85
78
  */
86
79
  catchEventHandlerExceptions? : boolean
87
80
  /**
@@ -93,15 +86,13 @@ export type BryntumFilePickerProps = {
93
86
  * Custom CSS classes to add to element.
94
87
  * May be specified as a space separated string, or as an object in which property names
95
88
  * with truthy values are used as the class names:
96
- * ...
97
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-cls)
89
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-cls)
98
90
  */
99
91
  cls? : string|object
100
92
  /**
101
93
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
102
94
  * `style` block.
103
- * ...
104
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-color)
95
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-color)
105
96
  */
106
97
  color? : Color
107
98
  /**
@@ -125,8 +116,7 @@ export type BryntumFilePickerProps = {
125
116
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
126
117
  * May be specified as a space separated string, or as an object in which property names
127
118
  * with truthy values are used as the class names:
128
- * ...
129
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-contentElementCls)
119
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-contentElementCls)
130
120
  */
131
121
  contentElementCls? : string|object
132
122
  /**
@@ -146,8 +136,7 @@ export type BryntumFilePickerProps = {
146
136
  /**
147
137
  * A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
148
138
  * focus should be directed by default.
149
- * ...
150
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-defaultFocus)
139
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-defaultFocus)
151
140
  * @param {Core.widget.Widget} widget Widget passed to method
152
141
  * @returns {boolean} truthy value if widget is the default one
153
142
  */
@@ -157,16 +146,15 @@ export type BryntumFilePickerProps = {
157
146
  */
158
147
  defaults? : CoreContainerItemConfig
159
148
  /**
160
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
161
- * ...
162
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-detectCSSCompatibilityIssues)
149
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
150
+ * checks:
151
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-detectCSSCompatibilityIssues)
163
152
  */
164
153
  detectCSSCompatibilityIssues? : boolean
165
154
  /**
166
155
  * 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
167
156
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
168
- * ...
169
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-disabled)
157
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-disabled)
170
158
  */
171
159
  disabled? : boolean|'inert'
172
160
  /**
@@ -174,25 +162,21 @@ export type BryntumFilePickerProps = {
174
162
  * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
175
163
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
176
164
  * body. Such widgets are called "edge strips".
177
- * ...
178
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-dock)
165
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-dock)
179
166
  */
180
167
  dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
181
168
  /**
182
169
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
183
170
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
184
171
  * property which controls when a drag should start.
185
- * ...
186
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-draggable)
172
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-draggable)
173
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
187
174
  */
188
- draggable? : boolean|{
189
- handleSelector?: string
190
- }
175
+ draggable? : boolean|object
191
176
  /**
192
177
  * An object specifying attributes to assign to the root element of this widget.
193
178
  * Set `null` value to attribute to remove it.
194
- * ...
195
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-elementAttributes)
179
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-elementAttributes)
196
180
  */
197
181
  elementAttributes? : Record<string, string|null>
198
182
  extraData? : any
@@ -225,25 +209,21 @@ export type BryntumFilePickerProps = {
225
209
  hidden? : boolean
226
210
  /**
227
211
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
228
- * ...
229
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-hideAnimation)
212
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-hideAnimation)
230
213
  */
231
214
  hideAnimation? : boolean|object
232
215
  /**
233
216
  * Specify `true` to make this container hide when it has no visible children (Either empty
234
217
  * or all children hidden).
235
- * ...
236
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-hideWhenEmpty)
218
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-hideWhenEmpty)
237
219
  */
238
220
  hideWhenEmpty? : boolean
239
221
  /**
240
222
  * The HTML to display initially or a function returning the markup (called at widget construction time).
241
- * ...
242
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-html)
223
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-html)
243
224
  * @param {Core.widget.Widget} widget The calling Widget
244
- * @returns {string}
245
225
  */
246
- html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
226
+ html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
247
227
  /**
248
228
  * The CSS class(es) to add when HTML content is being applied to this widget.
249
229
  */
@@ -254,16 +234,14 @@ export type BryntumFilePickerProps = {
254
234
  id? : string
255
235
  /**
256
236
  * Determines if the widgets read-only state should be controlled by its parent.
257
- * ...
258
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ignoreParentReadOnly)
237
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ignoreParentReadOnly)
259
238
  */
260
239
  ignoreParentReadOnly? : boolean
261
240
  /**
262
241
  * Convenience setting to align input fields of child widgets. By default, the Field input element is
263
242
  * placed immediately following the `label`. If you prefer to have all input fields aligned to the
264
243
  * right, set this config to `'end'`.
265
- * ...
266
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-inputFieldAlign)
244
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-inputFieldAlign)
267
245
  */
268
246
  inputFieldAlign? : 'start'|'end'
269
247
  /**
@@ -281,55 +259,52 @@ export type BryntumFilePickerProps = {
281
259
  /**
282
260
  * An object containing typed child widget config objects or Widgets. May also be specified
283
261
  * as an array.
284
- * ...
285
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-items)
262
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-items)
286
263
  */
287
264
  items? : Record<string, CoreContainerItemConfig|MenuItemEntry>|(CoreContainerItemConfig|MenuItemEntry|Widget)[]
288
265
  /**
289
266
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
290
267
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
291
268
  * are the name of the instance method to call when the keystroke is received.
292
- * ...
293
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-keyMap)
269
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-keyMap)
294
270
  */
295
271
  keyMap? : Record<string, KeyMapConfig>
296
272
  /**
297
273
  * Convenience setting to use same label placement on all child widgets.
298
- * ...
299
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-labelPosition)
274
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-labelPosition)
300
275
  */
301
276
  labelPosition? : 'before'|'above'|'align-before'|'auto'|null
277
+ /**
278
+ * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
279
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-labelWidth)
280
+ */
281
+ labelWidth? : number|null
302
282
  /**
303
283
  * The short name of a helper class which manages rendering and styling of child items.
304
- * ...
305
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-layout)
284
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-layout)
306
285
  */
307
286
  layout? : string|CoreContainerLayoutConfig
308
287
  /**
309
288
  * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
310
- * ...
311
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-layoutStyle)
289
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-layoutStyle)
312
290
  */
313
291
  layoutStyle? : object
314
292
  /**
315
293
  * An array of [child item](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
316
294
  * instances only when this Container is rendered, rather than eagerly at construct time.
317
- * ...
318
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-lazyItems)
295
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-lazyItems)
319
296
  */
320
297
  lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
321
298
  /**
322
299
  * The listener set for this object.
323
- * ...
324
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-listeners)
300
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-listeners)
325
301
  */
326
302
  listeners? : FilePickerListeners
327
303
  /**
328
304
  * A class translations of which are used for translating this entity.
329
305
  * This is often used when translations of an item are defined on its container class.
330
306
  * For example:
331
- * ...
332
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-localeClass)
307
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-localeClass)
333
308
  */
334
309
  localeClass? : typeof Base
335
310
  /**
@@ -341,8 +316,7 @@ export type BryntumFilePickerProps = {
341
316
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
342
317
  * you could use 'localeKey' meta configuration.
343
318
  * Example:
344
- * ...
345
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-localizableProperties)
319
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-localizableProperties)
346
320
  */
347
321
  localizableProperties? : string[]
348
322
  /**
@@ -368,8 +342,7 @@ export type BryntumFilePickerProps = {
368
342
  maxHeight? : string|number
369
343
  /**
370
344
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
371
- * ...
372
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-maximizeOnMobile)
345
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-maximizeOnMobile)
373
346
  */
374
347
  maximizeOnMobile? : number|string
375
348
  /**
@@ -391,26 +364,22 @@ export type BryntumFilePickerProps = {
391
364
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
392
365
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
393
366
  * layout.
394
- * ...
395
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-monitorResize)
367
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-monitorResize)
368
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
396
369
  */
397
- monitorResize? : boolean|{
398
- immediate?: boolean
399
- }
370
+ monitorResize? : boolean|object
400
371
  /**
401
372
  * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items)
402
373
  * config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
403
374
  * value defined like this:
404
- * ...
405
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-namedItems)
375
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-namedItems)
406
376
  */
407
377
  namedItems? : Record<string, CoreContainerItemConfig>
408
378
  /**
409
379
  * 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
410
380
  * not participate in the standard layout of that widget, and must be positioned relatively to that
411
381
  * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
412
- * ...
413
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-positioned)
382
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-positioned)
414
383
  */
415
384
  positioned? : boolean
416
385
  /**
@@ -421,45 +390,45 @@ export type BryntumFilePickerProps = {
421
390
  /**
422
391
  * Whether this widget is read-only. This is only valid if the widget is an input
423
392
  * field, <strong>or contains input fields at any depth</strong>.
424
- * ...
425
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-readOnly)
393
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-readOnly)
426
394
  */
427
395
  readOnly? : boolean
428
396
  /**
429
397
  * [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
430
- * ...
431
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-record)
398
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-record)
432
399
  */
433
400
  record? : Model
434
401
  relayStoreEvents? : boolean
435
402
  /**
436
403
  * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
437
404
  * `type`.
438
- * ...
439
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-rendition)
405
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-rendition)
440
406
  */
441
407
  rendition? : string|Record<string, string>|null
442
408
  /**
443
409
  * Configure as `true` to have the component display a translucent ripple when its
444
410
  * [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
445
411
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
446
- * ...
447
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ripple)
448
- */
449
- ripple? : boolean|{
450
- delegate?: string
451
- color?: string
452
- radius?: number
453
- clip?: string
454
- }
412
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ripple)
413
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
414
+ * @property {string} [color] A CSS color name or specification.
415
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
416
+ * @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.
417
+ */
418
+ ripple? : boolean|object
419
+ /**
420
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
421
+ * accidentally applying a role which may interfere with screen readers.
422
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-role)
423
+ */
424
+ role? : string
455
425
  /**
456
426
  * 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`
457
427
  */
458
428
  rootElement? : ShadowRoot|HTMLElement
459
429
  /**
460
430
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
461
- * ...
462
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-rtl)
431
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-rtl)
463
432
  */
464
433
  rtl? : boolean
465
434
  /**
@@ -467,8 +436,7 @@ export type BryntumFilePickerProps = {
467
436
  * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
468
437
  * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
469
438
  * CSS overflow properties thus:
470
- * ...
471
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-scrollable)
439
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-scrollable)
472
440
  */
473
441
  scrollable? : boolean|ScrollerConfig|Scroller
474
442
  /**
@@ -478,8 +446,7 @@ export type BryntumFilePickerProps = {
478
446
  scrollAction? : 'hide'|'realign'|null
479
447
  /**
480
448
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
481
- * ...
482
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-showAnimation)
449
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-showAnimation)
483
450
  */
484
451
  showAnimation? : boolean|object
485
452
  /**
@@ -503,15 +470,13 @@ export type BryntumFilePickerProps = {
503
470
  * 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
504
471
  * [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
505
472
  * this widget:
506
- * ...
507
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-tab)
473
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-tab)
508
474
  */
509
475
  tab? : boolean|TabConfig
510
476
  /**
511
477
  * When this container is used as a tab in a TabPanel, these items are added to the
512
478
  * [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
513
- * ...
514
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-tabBarItems)
479
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-tabBarItems)
515
480
  */
516
481
  tabBarItems? : ToolbarItems[]|Widget[]
517
482
  /**
@@ -520,15 +485,13 @@ export type BryntumFilePickerProps = {
520
485
  tag? : string
521
486
  /**
522
487
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
523
- * ...
524
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-textAlign)
488
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-textAlign)
525
489
  */
526
490
  textAlign? : 'left'|'center'|'right'|'start'|'end'
527
491
  /**
528
492
  * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
529
493
  * which specifies a default max-width that makes long text more readable.
530
- * ...
531
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-textContent)
494
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-textContent)
532
495
  */
533
496
  textContent? : boolean
534
497
  /**
@@ -537,8 +500,7 @@ export type BryntumFilePickerProps = {
537
500
  title? : string
538
501
  /**
539
502
  * Tooltip for the widget, either as a string or as a Tooltip config object.
540
- * ...
541
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-tooltip)
503
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-tooltip)
542
504
  */
543
505
  tooltip? : string|TooltipConfig|null
544
506
  type? : 'filepicker'
@@ -546,8 +508,7 @@ export type BryntumFilePickerProps = {
546
508
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
547
509
  * as a space separated string, an array of strings, or as an object in which property names with truthy
548
510
  * values are used as the class names.
549
- * ...
550
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ui)
511
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-ui)
551
512
  */
552
513
  ui? : string|object
553
514
  /**
@@ -563,14 +524,12 @@ export type BryntumFilePickerProps = {
563
524
  width? : string|number
564
525
  /**
565
526
  * The x position for the widget.
566
- * ...
567
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-x)
527
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-x)
568
528
  */
569
529
  x? : number
570
530
  /**
571
531
  * The y position for the widget.
572
- * ...
573
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-y)
532
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-y)
574
533
  */
575
534
  y? : number
576
535
 
@@ -603,8 +562,7 @@ export type BryntumFilePickerProps = {
603
562
  onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
604
563
  /**
605
564
  * Fires when any other event is fired from the object.
606
- * ...
607
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#event-catchAll)
565
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#event-catchAll)
608
566
  * @param {object} event Event object
609
567
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
610
568
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -672,8 +630,7 @@ export type BryntumFilePickerProps = {
672
630
  /**
673
631
  * Triggered when a widget which had been in a non-visible state for any reason
674
632
  * achieves visibility.
675
- * ...
676
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#event-paint)
633
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#event-paint)
677
634
  * @param {object} event Event object
678
635
  * @param {Core.widget.Widget} event.source The widget being painted.
679
636
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -760,6 +717,7 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
760
717
  'preventTooltipOnTouch',
761
718
  'relayStoreEvents',
762
719
  'ripple',
720
+ 'role',
763
721
  'rootElement',
764
722
  'scrollAction',
765
723
  'showAnimation',
@@ -797,6 +755,7 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
797
755
  'items',
798
756
  'keyMap',
799
757
  'labelPosition',
758
+ 'labelWidth',
800
759
  'layout',
801
760
  'layoutStyle',
802
761
  'margin',
@@ -838,11 +797,6 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
838
797
  ];
839
798
 
840
799
  static propertyNames = [
841
- 'anchorSize',
842
- 'focusVisible',
843
- 'hasChanges',
844
- 'isSettingValues',
845
- 'isValid',
846
800
  'parent',
847
801
  'values'
848
802
  ];