@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, CalendarPanel, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DatePicker, DatePickerListeners, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { AlignSpec, Base, CalendarPanel, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DatePicker, DatePickerListeners, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
7
7
 
8
8
  import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
9
 
@@ -13,21 +13,18 @@ export type BryntumDatePickerProps = {
13
13
  * The date that the user has navigated to using the UI *prior* to setting the widget's
14
14
  * value by selecting it. The initial default is today's date. Can also be supplied as a `YYYY-MM-DD` date
15
15
  * string.
16
- * ...
17
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-activeDate)
16
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-activeDate)
18
17
  */
19
18
  activeDate? : Date|'today'|string
20
19
  /**
21
20
  * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
22
21
  * content will be placed inside this element.
23
- * ...
24
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-adopt)
22
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-adopt)
25
23
  */
26
24
  adopt? : HTMLElement|string
27
25
  /**
28
26
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
29
- * ...
30
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-align)
27
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-align)
31
28
  */
32
29
  align? : AlignSpec|string
33
30
  /**
@@ -44,8 +41,7 @@ export type BryntumDatePickerProps = {
44
41
  /**
45
42
  * By default, when navigating through time, the next time
46
43
  * block will be animated in from the appropriate direction.
47
- * ...
48
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-animateTimeShift)
44
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-animateTimeShift)
49
45
  */
50
46
  animateTimeShift? : boolean
51
47
  /**
@@ -56,15 +52,13 @@ export type BryntumDatePickerProps = {
56
52
  /**
57
53
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
58
54
  * into an element which will be linked using the `aria-describedby` attribute.
59
- * ...
60
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ariaDescription)
55
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ariaDescription)
61
56
  */
62
57
  ariaDescription? : string
63
58
  /**
64
59
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
65
60
  * the `aria-label` attribute.
66
- * ...
67
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ariaLabel)
61
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ariaLabel)
68
62
  */
69
63
  ariaLabel? : string
70
64
  /**
@@ -74,14 +68,12 @@ export type BryntumDatePickerProps = {
74
68
  /**
75
69
  * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
76
70
  * or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips).
77
- * ...
78
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-bbar)
71
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-bbar)
79
72
  */
80
73
  bbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
81
74
  /**
82
75
  * Custom CSS classes to add to the panel's body element.
83
- * ...
84
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-bodyCls)
76
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-bodyCls)
85
77
  */
86
78
  bodyCls? : string|object
87
79
  /**
@@ -91,27 +83,23 @@ export type BryntumDatePickerProps = {
91
83
  /**
92
84
  * An object where property names with a truthy value indicate which events should bubble up the ownership
93
85
  * hierarchy when triggered.
94
- * ...
95
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-bubbleEvents)
86
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-bubbleEvents)
96
87
  */
97
88
  bubbleEvents? : object
98
89
  /**
99
90
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
100
- * ...
101
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-callOnFunctions)
91
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-callOnFunctions)
102
92
  */
103
93
  callOnFunctions? : boolean
104
94
  /**
105
95
  * By default, if an event handler throws an exception, the error propagates up the stack and the
106
96
  * application state is undefined. Code which follows the event handler will *not* be executed.
107
- * ...
108
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-catchEventHandlerExceptions)
97
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-catchEventHandlerExceptions)
109
98
  */
110
99
  catchEventHandlerExceptions? : boolean
111
100
  /**
112
101
  * A function (or the name of a function) which creates content in, and may mutate a day cell element.
113
- * ...
114
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-cellRenderer)
102
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-cellRenderer)
115
103
  * @param {object} renderData
116
104
  * @param {HTMLElement} renderData.cell The cell's encapsulating element. This has the `b-calendar-panel-cell` class and is the element which receives focus, so this should be the target of any accessibility attributes.
117
105
  * @param {HTMLElement} renderData.innerCell The inner element of the cell which contains the date number. This is the `aspect-ratio : 1` element which contains the date. It is not recommeneded to mutate this element. Instead use the `cellPayload` element (see below).
@@ -136,8 +124,7 @@ export type BryntumDatePickerProps = {
136
124
  * Custom CSS classes to add to element.
137
125
  * May be specified as a space separated string, or as an object in which property names
138
126
  * with truthy values are used as the class names:
139
- * ...
140
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-cls)
127
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-cls)
141
128
  */
142
129
  cls? : string|object
143
130
  /**
@@ -147,15 +134,13 @@ export type BryntumDatePickerProps = {
147
134
  collapsed? : boolean
148
135
  /**
149
136
  * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-collapsed).
150
- * ...
151
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-collapsible)
137
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-collapsible)
152
138
  */
153
139
  collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
154
140
  /**
155
141
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
156
142
  * `style` block.
157
- * ...
158
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-color)
143
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-color)
159
144
  */
160
145
  color? : Color
161
146
  /**
@@ -179,8 +164,7 @@ export type BryntumDatePickerProps = {
179
164
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
180
165
  * May be specified as a space separated string, or as an object in which property names
181
166
  * with truthy values are used as the class names:
182
- * ...
183
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-contentElementCls)
167
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-contentElementCls)
184
168
  */
185
169
  contentElementCls? : string|object
186
170
  /**
@@ -208,8 +192,7 @@ export type BryntumDatePickerProps = {
208
192
  /**
209
193
  * A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
210
194
  * focus should be directed by default.
211
- * ...
212
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-defaultFocus)
195
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-defaultFocus)
213
196
  * @param {Core.widget.Widget} widget Widget passed to method
214
197
  * @returns {boolean} truthy value if widget is the default one
215
198
  */
@@ -219,16 +202,15 @@ export type BryntumDatePickerProps = {
219
202
  */
220
203
  defaults? : CoreContainerItemConfig
221
204
  /**
222
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
223
- * ...
224
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-detectCSSCompatibilityIssues)
205
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
206
+ * checks:
207
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-detectCSSCompatibilityIssues)
225
208
  */
226
209
  detectCSSCompatibilityIssues? : boolean
227
210
  /**
228
211
  * 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
229
212
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
230
- * ...
231
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-disabled)
213
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-disabled)
232
214
  */
233
215
  disabled? : boolean|'inert'
234
216
  /**
@@ -245,8 +227,7 @@ export type BryntumDatePickerProps = {
245
227
  disabledDates? : ((date: Date) => boolean)|string|Date[]|string[]
246
228
  /**
247
229
  * Configure as `true` to render non working days as [disabledDates](https://bryntum.com/products/core/docs/api/Core/widget/CalendarPanel#config-disabledDates).
248
- * ...
249
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-disableNonWorkingDays)
230
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-disableNonWorkingDays)
250
231
  */
251
232
  disableNonWorkingDays? : boolean
252
233
  /**
@@ -263,41 +244,36 @@ export type BryntumDatePickerProps = {
263
244
  * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
264
245
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
265
246
  * body. Such widgets are called "edge strips".
266
- * ...
267
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-dock)
247
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-dock)
268
248
  */
269
249
  dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
270
250
  /**
271
251
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
272
252
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
273
253
  * property which controls when a drag should start.
274
- * ...
275
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-draggable)
254
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-draggable)
255
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
276
256
  */
277
- draggable? : boolean|{
278
- handleSelector?: string
279
- }
257
+ draggable? : boolean|object
280
258
  /**
281
259
  * This property is only valid if [multiSelect](https://bryntum.com/products/core/docs/api/Core/widget/DatePicker#config-multiSelect) is set to `'range'`
282
260
  * or `true`.
283
- * ...
284
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-dragSelect)
261
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-dragSelect)
285
262
  */
286
263
  dragSelect? : boolean
287
264
  /**
288
265
  * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
289
- * ...
290
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-drawer)
291
- * @param {'start','left','end','right','top','bottom'} side The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
292
- * @param {string,number} size The size of the drawer in its collapsible axis.
293
- * @param {boolean} inline If using the [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
294
- * @param {boolean,object} autoClose Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
295
- * @param {boolean,string} autoClose.mousedown If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
296
- * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
297
- * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
298
- * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
299
- */
300
- drawer? : boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose: { mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number}
266
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-drawer)
267
+ * @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
268
+ * @param {string,number} [size] The size of the drawer in its collapsible axis.
269
+ * @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
270
+ * @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
271
+ * @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
272
+ * @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
273
+ * @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
274
+ * @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
275
+ */
276
+ drawer? : boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose?: boolean|{ mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number }
301
277
  /**
302
278
  * By default, the month and year are editable. Configure this as `false` to prevent that.
303
279
  */
@@ -305,8 +281,7 @@ export type BryntumDatePickerProps = {
305
281
  /**
306
282
  * An object specifying attributes to assign to the root element of this widget.
307
283
  * Set `null` value to attribute to remove it.
308
- * ...
309
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-elementAttributes)
284
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-elementAttributes)
310
285
  */
311
286
  elementAttributes? : Record<string, string|null>
312
287
  extraData? : any
@@ -332,24 +307,20 @@ export type BryntumDatePickerProps = {
332
307
  /**
333
308
  * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
334
309
  * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips).
335
- * ...
336
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-footer)
310
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-footer)
311
+ * @property {'top','right','bottom','left','start','end'} dock Where to dock
312
+ * @property {string} html Html to populate the footer with
313
+ * @property {string} cls CSS class to add to the footer
337
314
  */
338
- footer? : {
339
- dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
340
- html?: string
341
- cls?: string
342
- }|string
315
+ footer? : object|string
343
316
  /**
344
317
  * A config [object](https://bryntum.com/products/core/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
345
- * ...
346
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-header)
318
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-header)
347
319
  */
348
320
  header? : string|boolean|PanelHeader
349
321
  /**
350
322
  * A function (or the name of a function) which creates content in, and may mutate a day header element.
351
- * ...
352
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-headerRenderer)
323
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-headerRenderer)
353
324
  * @param {HTMLElement} cell The header element
354
325
  * @param {number} columnIndex The day column. Will be in the range `0` to `6`
355
326
  * @param {number} weekDay The canonical day number where Monday is `0` and Sunday is `6`
@@ -368,8 +339,7 @@ export type BryntumDatePickerProps = {
368
339
  hidden? : boolean
369
340
  /**
370
341
  * *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/DatePicker#config-hideAnimation)
342
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-hideAnimation)
373
343
  */
374
344
  hideAnimation? : boolean|object
375
345
  /**
@@ -379,8 +349,7 @@ export type BryntumDatePickerProps = {
379
349
  /**
380
350
  * Specify `true` to make this container hide when it has no visible children (Either empty
381
351
  * or all children hidden).
382
- * ...
383
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-hideWhenEmpty)
352
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-hideWhenEmpty)
384
353
  */
385
354
  hideWhenEmpty? : boolean
386
355
  /**
@@ -390,12 +359,10 @@ export type BryntumDatePickerProps = {
390
359
  highlightSelectedWeek? : boolean
391
360
  /**
392
361
  * The HTML to display initially or a function returning the markup (called at widget construction time).
393
- * ...
394
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-html)
362
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-html)
395
363
  * @param {Core.widget.Widget} widget The calling Widget
396
- * @returns {string}
397
364
  */
398
- html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
365
+ html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
399
366
  /**
400
367
  * The CSS class(es) to add when HTML content is being applied to this widget.
401
368
  */
@@ -411,8 +378,7 @@ export type BryntumDatePickerProps = {
411
378
  id? : string
412
379
  /**
413
380
  * Determines if the widgets read-only state should be controlled by its parent.
414
- * ...
415
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ignoreParentReadOnly)
381
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ignoreParentReadOnly)
416
382
  */
417
383
  ignoreParentReadOnly? : boolean
418
384
  /**
@@ -423,8 +389,7 @@ export type BryntumDatePickerProps = {
423
389
  * Convenience setting to align input fields of child widgets. By default, the Field input element is
424
390
  * placed immediately following the `label`. If you prefer to have all input fields aligned to the
425
391
  * right, set this config to `'end'`.
426
- * ...
427
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-inputFieldAlign)
392
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-inputFieldAlign)
428
393
  */
429
394
  inputFieldAlign? : 'start'|'end'
430
395
  /**
@@ -442,55 +407,52 @@ export type BryntumDatePickerProps = {
442
407
  /**
443
408
  * An object containing typed child widget config objects or Widgets. May also be specified
444
409
  * as an array.
445
- * ...
446
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-items)
410
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-items)
447
411
  */
448
412
  items? : Record<string, CoreContainerItemConfig|MenuItemEntry>|(CoreContainerItemConfig|MenuItemEntry|Widget)[]
449
413
  /**
450
414
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
451
415
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
452
416
  * are the name of the instance method to call when the keystroke is received.
453
- * ...
454
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-keyMap)
417
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-keyMap)
455
418
  */
456
419
  keyMap? : Record<string, KeyMapConfig>
457
420
  /**
458
421
  * Convenience setting to use same label placement on all child widgets.
459
- * ...
460
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-labelPosition)
422
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-labelPosition)
461
423
  */
462
424
  labelPosition? : 'before'|'above'|'align-before'|'auto'|null
425
+ /**
426
+ * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
427
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-labelWidth)
428
+ */
429
+ labelWidth? : number|null
463
430
  /**
464
431
  * The short name of a helper class which manages rendering and styling of child items.
465
- * ...
466
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-layout)
432
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-layout)
467
433
  */
468
434
  layout? : string|CoreContainerLayoutConfig
469
435
  /**
470
436
  * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
471
- * ...
472
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-layoutStyle)
437
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-layoutStyle)
473
438
  */
474
439
  layoutStyle? : object
475
440
  /**
476
441
  * 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
477
442
  * instances only when this Container is rendered, rather than eagerly at construct time.
478
- * ...
479
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-lazyItems)
443
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-lazyItems)
480
444
  */
481
445
  lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
482
446
  /**
483
447
  * The listener set for this object.
484
- * ...
485
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-listeners)
448
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-listeners)
486
449
  */
487
450
  listeners? : DatePickerListeners
488
451
  /**
489
452
  * A class translations of which are used for translating this entity.
490
453
  * This is often used when translations of an item are defined on its container class.
491
454
  * For example:
492
- * ...
493
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-localeClass)
455
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-localeClass)
494
456
  */
495
457
  localeClass? : typeof Base
496
458
  /**
@@ -502,8 +464,7 @@ export type BryntumDatePickerProps = {
502
464
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
503
465
  * you could use 'localeKey' meta configuration.
504
466
  * Example:
505
- * ...
506
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-localizableProperties)
467
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-localizableProperties)
507
468
  */
508
469
  localizableProperties? : string[]
509
470
  /**
@@ -534,8 +495,7 @@ export type BryntumDatePickerProps = {
534
495
  maxHeight? : string|number
535
496
  /**
536
497
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
537
- * ...
538
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-maximizeOnMobile)
498
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-maximizeOnMobile)
539
499
  */
540
500
  maximizeOnMobile? : number|string
541
501
  /**
@@ -545,8 +505,7 @@ export type BryntumDatePickerProps = {
545
505
  maxWidth? : string|number
546
506
  /**
547
507
  * By default, day cells flex to share available Panel width equally.
548
- * ...
549
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-minColumnWidth)
508
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-minColumnWidth)
550
509
  */
551
510
  minColumnWidth? : number
552
511
  /**
@@ -561,8 +520,7 @@ export type BryntumDatePickerProps = {
561
520
  minHeight? : string|number
562
521
  /**
563
522
  * By default, week rows flex to share available Panel height equally.
564
- * ...
565
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-minRowHeight)
523
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-minRowHeight)
566
524
  */
567
525
  minRowHeight? : number|string
568
526
  /**
@@ -574,12 +532,10 @@ export type BryntumDatePickerProps = {
574
532
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
575
533
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
576
534
  * layout.
577
- * ...
578
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-monitorResize)
535
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-monitorResize)
536
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
579
537
  */
580
- monitorResize? : boolean|{
581
- immediate?: boolean
582
- }
538
+ monitorResize? : boolean|object
583
539
  /**
584
540
  * A [Month](https://bryntum.com/products/core/docs/api/Core/util/Month) Month utility object which encapsulates this Panel's month
585
541
  * and provides contextual information and navigation services.
@@ -587,23 +543,20 @@ export type BryntumDatePickerProps = {
587
543
  month? : Month|MonthConfig
588
544
  /**
589
545
  * The format string to use to create the text of the month button.
590
- * ...
591
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-monthButtonFormat)
546
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-monthButtonFormat)
592
547
  */
593
548
  monthButtonFormat? : string
594
549
  /**
595
550
  * Configure as `true` to enable selecting multiple discontiguous date ranges using
596
551
  * click and Shift+click to create ranges and Ctrl+click to select/deselect individual dates.
597
- * ...
598
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-multiSelect)
552
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-multiSelect)
599
553
  */
600
554
  multiSelect? : boolean|'range'|'simple'
601
555
  /**
602
556
  * 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)
603
557
  * config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
604
558
  * value defined like this:
605
- * ...
606
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-namedItems)
559
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-namedItems)
607
560
  */
608
561
  namedItems? : Record<string, CoreContainerItemConfig>
609
562
  /**
@@ -623,8 +576,7 @@ export type BryntumDatePickerProps = {
623
576
  * 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
624
577
  * not participate in the standard layout of that widget, and must be positioned relatively to that
625
578
  * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
626
- * ...
627
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-positioned)
579
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-positioned)
628
580
  */
629
581
  positioned? : boolean
630
582
  /**
@@ -635,45 +587,45 @@ export type BryntumDatePickerProps = {
635
587
  /**
636
588
  * Whether this widget is read-only. This is only valid if the widget is an input
637
589
  * field, <strong>or contains input fields at any depth</strong>.
638
- * ...
639
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-readOnly)
590
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-readOnly)
640
591
  */
641
592
  readOnly? : boolean
642
593
  /**
643
594
  * [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
644
- * ...
645
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-record)
595
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-record)
646
596
  */
647
597
  record? : Model
648
598
  relayStoreEvents? : boolean
649
599
  /**
650
600
  * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
651
601
  * `type`.
652
- * ...
653
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-rendition)
602
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-rendition)
654
603
  */
655
604
  rendition? : string|Record<string, string>|null
656
605
  /**
657
606
  * Configure as `true` to have the component display a translucent ripple when its
658
607
  * [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
659
608
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
660
- * ...
661
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ripple)
662
- */
663
- ripple? : boolean|{
664
- delegate?: string
665
- color?: string
666
- radius?: number
667
- clip?: string
668
- }
609
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ripple)
610
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
611
+ * @property {string} [color] A CSS color name or specification.
612
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
613
+ * @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.
614
+ */
615
+ ripple? : boolean|object
616
+ /**
617
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
618
+ * accidentally applying a role which may interfere with screen readers.
619
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-role)
620
+ */
621
+ role? : string
669
622
  /**
670
623
  * 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`
671
624
  */
672
625
  rootElement? : ShadowRoot|HTMLElement
673
626
  /**
674
627
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
675
- * ...
676
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-rtl)
628
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-rtl)
677
629
  */
678
630
  rtl? : boolean
679
631
  /**
@@ -681,8 +633,7 @@ export type BryntumDatePickerProps = {
681
633
  * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
682
634
  * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
683
635
  * CSS overflow properties thus:
684
- * ...
685
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-scrollable)
636
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-scrollable)
686
637
  */
687
638
  scrollable? : boolean|ScrollerConfig|Scroller
688
639
  /**
@@ -693,8 +644,7 @@ export type BryntumDatePickerProps = {
693
644
  /**
694
645
  * If [multiSelect](https://bryntum.com/products/core/docs/api/Core/widget/DatePicker#config-multiSelect) is configured as `true`, this is an array of dates
695
646
  * which are selected. There may be multiple, discontiguous date ranges.
696
- * ...
697
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-selection)
647
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-selection)
698
648
  */
699
649
  selection? : Date[]|string[]
700
650
  /**
@@ -703,8 +653,7 @@ export type BryntumDatePickerProps = {
703
653
  shadePastDates? : boolean
704
654
  /**
705
655
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
706
- * ...
707
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-showAnimation)
656
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-showAnimation)
708
657
  */
709
658
  showAnimation? : boolean|object
710
659
  /**
@@ -725,30 +674,26 @@ export type BryntumDatePickerProps = {
725
674
  span? : number
726
675
  /**
727
676
  * This value can be one of the following:
728
- * ...
729
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-stateful)
677
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-stateful)
730
678
  */
731
679
  stateful? : boolean|object|string[]
732
680
  /**
733
681
  * The events that, when fired by this component, should trigger it to save its state by calling
734
682
  * [saveState](https://bryntum.com/products/core/docs/api/Core/mixin/State#function-saveState).
735
- * ...
736
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-statefulEvents)
683
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-statefulEvents)
737
684
  */
738
685
  statefulEvents? : object|string[]
739
686
  /**
740
687
  * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/core/docs/api/Core/mixin/State#config-stateProvider). If this config is
741
688
  * not assigned, and [stateful](https://bryntum.com/products/core/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
742
689
  * (if explicitly specified) will be used as the `stateId`.
743
- * ...
744
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-stateId)
690
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-stateId)
745
691
  */
746
692
  stateId? : string
747
693
  /**
748
694
  * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/core/docs/api/Core/mixin/State#property-state). By default, `state`
749
695
  * will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
750
- * ...
751
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-stateProvider)
696
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-stateProvider)
752
697
  */
753
698
  stateProvider? : StateProvider
754
699
  /**
@@ -760,23 +705,20 @@ export type BryntumDatePickerProps = {
760
705
  * An object containing widgets keyed by name. By default (when no `type` is given), strips are
761
706
  * [toolbars](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
762
707
  * the toolbar's [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items).
763
- * ...
764
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-strips)
708
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-strips)
765
709
  */
766
710
  strips? : Record<string, CoreContainerItemConfig>
767
711
  /**
768
712
  * 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
769
713
  * [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
770
714
  * this widget:
771
- * ...
772
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tab)
715
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tab)
773
716
  */
774
717
  tab? : boolean|TabConfig
775
718
  /**
776
719
  * When this container is used as a tab in a TabPanel, these items are added to the
777
720
  * [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
778
- * ...
779
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tabBarItems)
721
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tabBarItems)
780
722
  */
781
723
  tabBarItems? : ToolbarItems[]|Widget[]
782
724
  /**
@@ -787,35 +729,30 @@ export type BryntumDatePickerProps = {
787
729
  * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
788
730
  * or array of config objects representing the child items of a Toolbar.
789
731
  * This creates a toolbar docked to the top of the panel immediately below the header.
790
- * ...
791
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tbar)
732
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tbar)
792
733
  */
793
734
  tbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
794
735
  /**
795
736
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
796
- * ...
797
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-textAlign)
737
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-textAlign)
798
738
  */
799
739
  textAlign? : 'left'|'center'|'right'|'start'|'end'
800
740
  /**
801
741
  * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
802
742
  * which specifies a default max-width that makes long text more readable.
803
- * ...
804
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-textContent)
743
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-textContent)
805
744
  */
806
745
  textContent? : boolean
807
746
  /**
808
747
  * A config object to create a tooltip which will show on hover of a date cell including disabled, weekend,
809
748
  * and "other month" cells.
810
- * ...
811
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tip)
749
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tip)
812
750
  */
813
751
  tip? : TooltipConfig
814
752
  /**
815
753
  * A title to display in the header or owning TabPanel. Causes creation and docking of a header
816
754
  * to the top if no header is configured.
817
- * ...
818
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-title)
755
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-title)
819
756
  */
820
757
  title? : string
821
758
  /**
@@ -826,14 +763,12 @@ export type BryntumDatePickerProps = {
826
763
  * The [tools](https://bryntum.com/products/core/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
827
764
  * property name is the reference by which an instantiated tool may be retrieved from the live
828
765
  * `[tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
829
- * ...
830
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tools)
766
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tools)
831
767
  */
832
768
  tools? : Record<string, ToolConfig>|null
833
769
  /**
834
770
  * Tooltip for the widget, either as a string or as a Tooltip config object.
835
- * ...
836
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tooltip)
771
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-tooltip)
837
772
  */
838
773
  tooltip? : string|TooltipConfig|null
839
774
  /**
@@ -847,8 +782,7 @@ export type BryntumDatePickerProps = {
847
782
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
848
783
  * as a space separated string, an array of strings, or as an object in which property names with truthy
849
784
  * values are used as the class names.
850
- * ...
851
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ui)
785
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-ui)
852
786
  */
853
787
  ui? : 'plain'|'toolbar'|string|object
854
788
  /**
@@ -861,8 +795,7 @@ export type BryntumDatePickerProps = {
861
795
  weekendCls? : string
862
796
  /**
863
797
  * A function (or the name of a function) which creates content in, and may mutate the week cell element at the start of a week row.
864
- * ...
865
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-weekRenderer)
798
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-weekRenderer)
866
799
  * @param {HTMLElement} weekCell The header element
867
800
  * @param {number[]} week An array containing `[year, weekNumber]`
868
801
  * @returns {string,DomConfig,void}
@@ -886,14 +819,12 @@ export type BryntumDatePickerProps = {
886
819
  width? : string|number
887
820
  /**
888
821
  * The x position for the widget.
889
- * ...
890
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-x)
822
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-x)
891
823
  */
892
824
  x? : number
893
825
  /**
894
826
  * The y position for the widget.
895
- * ...
896
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-y)
827
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-y)
897
828
  */
898
829
  y? : number
899
830
 
@@ -909,7 +840,7 @@ export type BryntumDatePickerProps = {
909
840
  * @param {object} event Event object
910
841
  * @param {Core.widget.Widget} event.source The widget being hidden.
911
842
  */
912
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
843
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
913
844
  /**
914
845
  * Fires before this CalendarPanel refreshes in response to changes in its month.
915
846
  * @param {object} event Event object
@@ -935,17 +866,16 @@ export type BryntumDatePickerProps = {
935
866
  * @param {object} event Event object
936
867
  * @param {any} event.state State object config
937
868
  */
938
- onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
869
+ onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
939
870
  /**
940
871
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
941
872
  * @param {object} event Event object
942
873
  * @param {any} event.state State object config
943
874
  */
944
- onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
875
+ onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
945
876
  /**
946
877
  * Fires when any other event is fired from the object.
947
- * ...
948
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#event-catchAll)
878
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#event-catchAll)
949
879
  * @param {object} event Event object
950
880
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
951
881
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -1036,8 +966,7 @@ export type BryntumDatePickerProps = {
1036
966
  /**
1037
967
  * Triggered when a widget which had been in a non-visible state for any reason
1038
968
  * achieves visibility.
1039
- * ...
1040
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#event-paint)
969
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#event-paint)
1041
970
  * @param {object} event Event object
1042
971
  * @param {Core.widget.Widget} event.source The widget being painted.
1043
972
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -1180,6 +1109,7 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
1180
1109
  'preventTooltipOnTouch',
1181
1110
  'relayStoreEvents',
1182
1111
  'ripple',
1112
+ 'role',
1183
1113
  'rootElement',
1184
1114
  'scrollAction',
1185
1115
  'showAnimation',
@@ -1234,6 +1164,7 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
1234
1164
  'items',
1235
1165
  'keyMap',
1236
1166
  'labelPosition',
1167
+ 'labelWidth',
1237
1168
  'layout',
1238
1169
  'layoutStyle',
1239
1170
  'margin',
@@ -1289,11 +1220,6 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
1289
1220
  ];
1290
1221
 
1291
1222
  static propertyNames = [
1292
- 'anchorSize',
1293
- 'focusVisible',
1294
- 'hasChanges',
1295
- 'isSettingValues',
1296
- 'isValid',
1297
1223
  'parent',
1298
1224
  'state',
1299
1225
  'values'