@bryntum/core-react-thin 7.2.4 → 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, Color, CoreContainerItemConfig, DateFieldConfig, DateTimeField, DateTimeFieldListeners, DomConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, Scroller, TabConfig, TimeFieldConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { AlignSpec, Base, Color, CoreContainerItemConfig, DateFieldConfig, DateTimeField, DateTimeFieldListeners, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TimeFieldConfig, 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 BryntumDateTimeFieldProps = {
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/DateTimeField#config-adopt)
15
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/DateTimeField#config-align)
20
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-align)
23
21
  */
24
22
  align? : AlignSpec|string
25
23
  /**
@@ -41,15 +39,13 @@ export type BryntumDateTimeFieldProps = {
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/DateTimeField#config-ariaDescription)
42
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#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/DateTimeField#config-ariaLabel)
48
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ariaLabel)
53
49
  */
54
50
  ariaLabel? : string
55
51
  /**
@@ -63,21 +59,18 @@ export type BryntumDateTimeFieldProps = {
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/DateTimeField#config-bubbleEvents)
62
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-bubbleEvents)
68
63
  */
69
64
  bubbleEvents? : object
70
65
  /**
71
66
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
72
- * ...
73
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-callOnFunctions)
67
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-callOnFunctions)
74
68
  */
75
69
  callOnFunctions? : boolean
76
70
  /**
77
71
  * By default, if an event handler throws an exception, the error propagates up the stack and the
78
72
  * application state is undefined. Code which follows the event handler will *not* be executed.
79
- * ...
80
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-catchEventHandlerExceptions)
73
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-catchEventHandlerExceptions)
81
74
  */
82
75
  catchEventHandlerExceptions? : boolean
83
76
  /**
@@ -95,15 +88,13 @@ export type BryntumDateTimeFieldProps = {
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/DateTimeField#config-cls)
91
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-cls)
100
92
  */
101
93
  cls? : string|object
102
94
  /**
103
95
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
104
96
  * `style` block.
105
- * ...
106
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-color)
97
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-color)
107
98
  */
108
99
  color? : Color
109
100
  /**
@@ -120,15 +111,13 @@ export type BryntumDateTimeFieldProps = {
120
111
  * The configuration for additional items associated to this field. This is typically used to add contextual
121
112
  * fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
122
113
  * these classes for examples of nested fields.
123
- * ...
124
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-container)
114
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-container)
125
115
  */
126
- container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig|FieldContainer
116
+ container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
127
117
  /**
128
118
  * The config controls how the value of nested items are handled when a parent container gets or sets its
129
119
  * [values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
130
- * ...
131
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-containValues)
120
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-containValues)
132
121
  * @param {Core.widget.Field} field Field instance
133
122
  * @returns {boolean}
134
123
  */
@@ -137,8 +126,7 @@ export type BryntumDateTimeFieldProps = {
137
126
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
138
127
  * May be specified as a space separated string, or as an object in which property names
139
128
  * with truthy values are used as the class names:
140
- * ...
141
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-contentElementCls)
129
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-contentElementCls)
142
130
  */
143
131
  contentElementCls? : string|object
144
132
  /**
@@ -160,16 +148,15 @@ export type BryntumDateTimeFieldProps = {
160
148
  */
161
149
  defaultBindProperty? : string
162
150
  /**
163
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
164
- * ...
165
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-detectCSSCompatibilityIssues)
151
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
152
+ * checks:
153
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-detectCSSCompatibilityIssues)
166
154
  */
167
155
  detectCSSCompatibilityIssues? : boolean
168
156
  /**
169
157
  * 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
170
158
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
171
- * ...
172
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-disabled)
159
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-disabled)
173
160
  */
174
161
  disabled? : boolean|'inert'
175
162
  /**
@@ -177,33 +164,28 @@ export type BryntumDateTimeFieldProps = {
177
164
  * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
178
165
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
179
166
  * body. Such widgets are called "edge strips".
180
- * ...
181
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-dock)
167
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-dock)
182
168
  */
183
169
  dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
184
170
  /**
185
171
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
186
172
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
187
173
  * property which controls when a drag should start.
188
- * ...
189
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-draggable)
174
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-draggable)
175
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
190
176
  */
191
- draggable? : boolean|{
192
- handleSelector?: string
193
- }
177
+ draggable? : boolean|object
194
178
  /**
195
179
  * Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
196
180
  * [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value
197
181
  * but not to type one in the field.
198
- * ...
199
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-editable)
182
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-editable)
200
183
  */
201
184
  editable? : boolean
202
185
  /**
203
186
  * An object specifying attributes to assign to the root element of this widget.
204
187
  * Set `null` value to attribute to remove it.
205
- * ...
206
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-elementAttributes)
188
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-elementAttributes)
207
189
  */
208
190
  elementAttributes? : Record<string, string|null>
209
191
  extraData? : any
@@ -232,8 +214,7 @@ export type BryntumDateTimeFieldProps = {
232
214
  hidden? : boolean
233
215
  /**
234
216
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
235
- * ...
236
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-hideAnimation)
217
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-hideAnimation)
237
218
  */
238
219
  hideAnimation? : boolean|object
239
220
  /**
@@ -243,8 +224,7 @@ export type BryntumDateTimeFieldProps = {
243
224
  /**
244
225
  * An optional string to display inside the input field as an overlay. This can be useful for displaying
245
226
  * a field's units.
246
- * ...
247
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-hint)
227
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-hint)
248
228
  * @param {object} data A data object
249
229
  * @param {Core.widget.Field} data.source A reference to the field instance
250
230
  * @param {any} data.value The current value of the field
@@ -255,8 +235,7 @@ export type BryntumDateTimeFieldProps = {
255
235
  * This config is similar to [hint](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
256
236
  * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
257
237
  * encode such data (see [encodeHtml](https://bryntum.com/products/core/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
258
- * ...
259
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-hintHtml)
238
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-hintHtml)
260
239
  * @param {object} data A data object
261
240
  * @param {Core.widget.Field} data.source A reference to the field instance
262
241
  * @param {any} data.value The current value of the field
@@ -269,16 +248,14 @@ export type BryntumDateTimeFieldProps = {
269
248
  id? : string
270
249
  /**
271
250
  * Determines if the widgets read-only state should be controlled by its parent.
272
- * ...
273
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ignoreParentReadOnly)
251
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ignoreParentReadOnly)
274
252
  */
275
253
  ignoreParentReadOnly? : boolean
276
254
  /**
277
255
  * Set this config to `true` to always display items horizontally along with this field. This assigns an
278
256
  * [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
279
257
  * [container](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-container).
280
- * ...
281
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-inline)
258
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-inline)
282
259
  */
283
260
  inline? : boolean
284
261
  /**
@@ -300,16 +277,14 @@ export type BryntumDateTimeFieldProps = {
300
277
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
301
278
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
302
279
  * are the name of the instance method to call when the keystroke is received.
303
- * ...
304
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-keyMap)
280
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-keyMap)
305
281
  */
306
282
  keyMap? : Record<string, KeyMapConfig>
307
283
  /**
308
284
  * The delay in milliseconds to wait after the last keystroke before triggering a change event.
309
285
  * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
310
286
  * immediate feedback, change will still be triggered on blur).
311
- * ...
312
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-keyStrokeChangeDelay)
287
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-keyStrokeChangeDelay)
313
288
  */
314
289
  keyStrokeChangeDelay? : number
315
290
  /**
@@ -322,15 +297,15 @@ export type BryntumDateTimeFieldProps = {
322
297
  labelCls? : string|object
323
298
  /**
324
299
  * Label position, either 'before' the field or 'above' the field
325
- * ...
326
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-labelPosition)
300
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-labelPosition)
327
301
  */
328
302
  labelPosition? : 'before'|'above'|null
329
303
  /**
330
304
  * The labels to add either before or after the input field.
331
305
  * Each label may have the following properties:
332
- * ...
333
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-labels)
306
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-labels)
307
+ * @property {string} html Label text
308
+ * @property {'start','end'} align Which end of the file the label should go
334
309
  */
335
310
  labels? : object[]
336
311
  /**
@@ -339,16 +314,14 @@ export type BryntumDateTimeFieldProps = {
339
314
  labelWidth? : string|number
340
315
  /**
341
316
  * The listener set for this object.
342
- * ...
343
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-listeners)
317
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-listeners)
344
318
  */
345
319
  listeners? : DateTimeFieldListeners
346
320
  /**
347
321
  * A class translations of which are used for translating this entity.
348
322
  * This is often used when translations of an item are defined on its container class.
349
323
  * For example:
350
- * ...
351
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-localeClass)
324
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-localeClass)
352
325
  */
353
326
  localeClass? : typeof Base
354
327
  /**
@@ -360,8 +333,7 @@ export type BryntumDateTimeFieldProps = {
360
333
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
361
334
  * you could use 'localeKey' meta configuration.
362
335
  * Example:
363
- * ...
364
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-localizableProperties)
336
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-localizableProperties)
365
337
  */
366
338
  localizableProperties? : string[]
367
339
  /**
@@ -387,8 +359,7 @@ export type BryntumDateTimeFieldProps = {
387
359
  maxHeight? : string|number
388
360
  /**
389
361
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
390
- * ...
391
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-maximizeOnMobile)
362
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-maximizeOnMobile)
392
363
  */
393
364
  maximizeOnMobile? : number|string
394
365
  /**
@@ -410,18 +381,15 @@ export type BryntumDateTimeFieldProps = {
410
381
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
411
382
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
412
383
  * layout.
413
- * ...
414
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-monitorResize)
384
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-monitorResize)
385
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
415
386
  */
416
- monitorResize? : boolean|{
417
- immediate?: boolean
418
- }
387
+ monitorResize? : boolean|object
419
388
  /**
420
389
  * Name of the field which is used as a key to get/set values from/to the field.
421
390
  * Used prior to [ref](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
422
391
  * [Container.values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
423
- * ...
424
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-name)
392
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-name)
425
393
  */
426
394
  name? : string
427
395
  /**
@@ -432,8 +400,7 @@ export type BryntumDateTimeFieldProps = {
432
400
  * 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
433
401
  * not participate in the standard layout of that widget, and must be positioned relatively to that
434
402
  * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
435
- * ...
436
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-positioned)
403
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-positioned)
437
404
  */
438
405
  positioned? : boolean
439
406
  /**
@@ -444,15 +411,13 @@ export type BryntumDateTimeFieldProps = {
444
411
  /**
445
412
  * Makes the field unmodifiable by user action. The input area is not editable, and triggers
446
413
  * are unresponsive.
447
- * ...
448
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-readOnly)
414
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-readOnly)
449
415
  */
450
416
  readOnly? : boolean
451
417
  relayStoreEvents? : boolean
452
418
  /**
453
419
  * Predefined style to use for the field. Possible values are:
454
- * ...
455
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-rendition)
420
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-rendition)
456
421
  */
457
422
  rendition? : 'outlined'|'filled'|string
458
423
  /**
@@ -471,23 +436,26 @@ export type BryntumDateTimeFieldProps = {
471
436
  * Configure as `true` to have the component display a translucent ripple when its
472
437
  * [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
473
438
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
474
- * ...
475
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ripple)
476
- */
477
- ripple? : boolean|{
478
- delegate?: string
479
- color?: string
480
- radius?: number
481
- clip?: string
482
- }
439
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ripple)
440
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
441
+ * @property {string} [color] A CSS color name or specification.
442
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
443
+ * @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.
444
+ */
445
+ ripple? : boolean|object
446
+ /**
447
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
448
+ * accidentally applying a role which may interfere with screen readers.
449
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-role)
450
+ */
451
+ role? : string
483
452
  /**
484
453
  * 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`
485
454
  */
486
455
  rootElement? : ShadowRoot|HTMLElement
487
456
  /**
488
457
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
489
- * ...
490
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-rtl)
458
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-rtl)
491
459
  */
492
460
  rtl? : boolean
493
461
  /**
@@ -497,8 +465,7 @@ export type BryntumDateTimeFieldProps = {
497
465
  scrollAction? : 'hide'|'realign'|null
498
466
  /**
499
467
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
500
- * ...
501
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-showAnimation)
468
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-showAnimation)
502
469
  */
503
470
  showAnimation? : boolean|object
504
471
  /**
@@ -522,14 +489,12 @@ export type BryntumDateTimeFieldProps = {
522
489
  * 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
523
490
  * [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
524
491
  * this widget:
525
- * ...
526
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-tab)
492
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-tab)
527
493
  */
528
494
  tab? : boolean|TabConfig
529
495
  /**
530
496
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
531
- * ...
532
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-textAlign)
497
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-textAlign)
533
498
  */
534
499
  textAlign? : 'left'|'center'|'right'|'start'|'end'
535
500
  /**
@@ -542,24 +507,21 @@ export type BryntumDateTimeFieldProps = {
542
507
  title? : string
543
508
  /**
544
509
  * Tooltip for the widget, either as a string or as a Tooltip config object.
545
- * ...
546
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-tooltip)
510
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-tooltip)
547
511
  */
548
512
  tooltip? : string|TooltipConfig|null
549
513
  /**
550
514
  * The triggers to add either before or after the input field. Each property name is the reference by which
551
515
  * an instantiated Trigger Widget may be retrieved from the live `triggers` property.
552
- * ...
553
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-triggers)
516
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-triggers)
554
517
  */
555
- triggers? : Record<string, FieldTriggerConfig>|Record<string, Widget>
518
+ triggers? : Record<string, FieldTriggerConfig>
556
519
  type? : 'datetimefield'|'datetime'
557
520
  /**
558
521
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
559
522
  * as a space separated string, an array of strings, or as an object in which property names with truthy
560
523
  * values are used as the class names.
561
- * ...
562
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ui)
524
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-ui)
563
525
  */
564
526
  ui? : string|object
565
527
  /**
@@ -584,14 +546,12 @@ export type BryntumDateTimeFieldProps = {
584
546
  width? : string|number
585
547
  /**
586
548
  * The x position for the widget.
587
- * ...
588
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-x)
549
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-x)
589
550
  */
590
551
  x? : number
591
552
  /**
592
553
  * The y position for the widget.
593
- * ...
594
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-y)
554
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-y)
595
555
  */
596
556
  y? : number
597
557
 
@@ -630,8 +590,7 @@ export type BryntumDateTimeFieldProps = {
630
590
  onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
631
591
  /**
632
592
  * Fires when any other event is fired from the object.
633
- * ...
634
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#event-catchAll)
593
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#event-catchAll)
635
594
  * @param {object} event Event object
636
595
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
637
596
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -651,8 +610,7 @@ export type BryntumDateTimeFieldProps = {
651
610
  onChange? : ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string
652
611
  /**
653
612
  * Fired when this field is [cleared](https://bryntum.com/products/core/docs/api/Core/widget/Field#function-clear).
654
- * ...
655
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#event-clear)
613
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#event-clear)
656
614
  * @param {object} event Event object
657
615
  * @param {Core.widget.Field,any} event.source This Field
658
616
  */
@@ -710,8 +668,7 @@ export type BryntumDateTimeFieldProps = {
710
668
  /**
711
669
  * Triggered when a widget which had been in a non-visible state for any reason
712
670
  * achieves visibility.
713
- * ...
714
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#event-paint)
671
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#event-paint)
715
672
  * @param {object} event Event object
716
673
  * @param {Core.widget.Widget} event.source The widget being painted.
717
674
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -811,6 +768,7 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
811
768
  'relayStoreEvents',
812
769
  'revertOnEscape',
813
770
  'ripple',
771
+ 'role',
814
772
  'rootElement',
815
773
  'scrollAction',
816
774
  'showAnimation',
@@ -887,9 +845,7 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
887
845
  ];
888
846
 
889
847
  static propertyNames = [
890
- 'anchorSize',
891
848
  'content',
892
- 'focusVisible',
893
849
  'html',
894
850
  'input',
895
851
  'parent',