@bryntum/core-react-thin 7.3.1 → 7.3.3
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.
- package/lib/BryntumBooleanCombo.d.ts +1 -1
- package/lib/BryntumBooleanCombo.js +1 -1
- package/lib/BryntumBooleanCombo.js.map +1 -1
- package/lib/BryntumButton.d.ts +1 -1
- package/lib/BryntumButton.js +1 -1
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +1 -1
- package/lib/BryntumButtonGroup.js +1 -1
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +1 -1
- package/lib/BryntumChatPanel.js +1 -1
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +1 -1
- package/lib/BryntumCheckbox.js +1 -1
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +1 -1
- package/lib/BryntumCheckboxGroup.js +1 -1
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +2 -2
- package/lib/BryntumChipView.js +1 -1
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +1 -1
- package/lib/BryntumCodeEditor.js +1 -1
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +1 -1
- package/lib/BryntumColorField.js +1 -1
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +1 -1
- package/lib/BryntumCombo.js +1 -1
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +1 -1
- package/lib/BryntumContainer.js +1 -1
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +1 -1
- package/lib/BryntumDateField.js +1 -1
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +1 -1
- package/lib/BryntumDatePicker.js +1 -1
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +1 -1
- package/lib/BryntumDateRangeField.js +1 -1
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +1 -1
- package/lib/BryntumDateTimeField.js +1 -1
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +1 -1
- package/lib/BryntumDemoCodeEditor.js +1 -1
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +1 -1
- package/lib/BryntumDisplayField.js +1 -1
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +1 -1
- package/lib/BryntumDurationField.js +1 -1
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +1 -1
- package/lib/BryntumEditor.js +1 -1
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +1 -1
- package/lib/BryntumFieldFilterPicker.js +1 -1
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +1 -1
- package/lib/BryntumFieldFilterPickerGroup.js +1 -1
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +1 -1
- package/lib/BryntumFieldSet.js +1 -1
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +1 -1
- package/lib/BryntumFileField.js +1 -1
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +1 -1
- package/lib/BryntumFilePicker.js +1 -1
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +1 -1
- package/lib/BryntumFilterField.js +1 -1
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.js +1 -0
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +1 -1
- package/lib/BryntumLabel.js +1 -1
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +1 -1
- package/lib/BryntumList.js +1 -1
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +1 -1
- package/lib/BryntumMenu.js +1 -1
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +1 -1
- package/lib/BryntumMonthPicker.js +1 -1
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +1 -1
- package/lib/BryntumNumberField.js +1 -1
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +1 -1
- package/lib/BryntumPagingToolbar.js +1 -1
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +1 -1
- package/lib/BryntumPanel.js +1 -1
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +1 -1
- package/lib/BryntumPasswordField.js +1 -1
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +1 -1
- package/lib/BryntumProgressBar.js +1 -1
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +1 -1
- package/lib/BryntumRadio.js +1 -1
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +1 -1
- package/lib/BryntumRadioGroup.js +1 -1
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +1 -1
- package/lib/BryntumSlideToggle.js +1 -1
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +1 -1
- package/lib/BryntumSlider.js +1 -1
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +1 -1
- package/lib/BryntumSplitter.js +1 -1
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +1 -1
- package/lib/BryntumTabPanel.js +1 -1
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +1 -1
- package/lib/BryntumTextAreaField.js +1 -1
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +1 -1
- package/lib/BryntumTextAreaPickerField.js +1 -1
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +1 -1
- package/lib/BryntumTextField.js +1 -1
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +1 -1
- package/lib/BryntumTimeField.js +1 -1
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +1 -1
- package/lib/BryntumTimePicker.js +1 -1
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +1 -1
- package/lib/BryntumToolbar.js +1 -1
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +1 -1
- package/lib/BryntumWidget.js +1 -1
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +1 -1
- package/lib/BryntumYearPicker.js +1 -1
- package/lib/BryntumYearPicker.js.map +1 -1
- package/lib/WrapperHelper.js +27 -8
- package/lib/WrapperHelper.js.map +1 -1
- package/license.pdf +0 -0
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +12 -5
- package/src/BryntumButton.tsx +12 -5
- package/src/BryntumButtonGroup.tsx +13 -6
- package/src/BryntumChatPanel.tsx +13 -6
- package/src/BryntumCheckbox.tsx +12 -5
- package/src/BryntumCheckboxGroup.tsx +13 -6
- package/src/BryntumChipView.tsx +15 -6
- package/src/BryntumCodeEditor.tsx +13 -6
- package/src/BryntumColorField.tsx +12 -5
- package/src/BryntumCombo.tsx +12 -5
- package/src/BryntumContainer.tsx +13 -6
- package/src/BryntumDateField.tsx +12 -5
- package/src/BryntumDatePicker.tsx +13 -6
- package/src/BryntumDateRangeField.tsx +12 -5
- package/src/BryntumDateTimeField.tsx +12 -5
- package/src/BryntumDemoCodeEditor.tsx +13 -6
- package/src/BryntumDisplayField.tsx +12 -5
- package/src/BryntumDurationField.tsx +12 -5
- package/src/BryntumEditor.tsx +13 -6
- package/src/BryntumFieldFilterPicker.tsx +13 -6
- package/src/BryntumFieldFilterPickerGroup.tsx +13 -6
- package/src/BryntumFieldSet.tsx +13 -6
- package/src/BryntumFileField.tsx +12 -5
- package/src/BryntumFilePicker.tsx +13 -6
- package/src/BryntumFilterField.tsx +12 -5
- package/src/BryntumHint.tsx +9 -2
- package/src/BryntumLabel.tsx +12 -5
- package/src/BryntumList.tsx +12 -5
- package/src/BryntumMenu.tsx +12 -5
- package/src/BryntumMonthPicker.tsx +13 -6
- package/src/BryntumNumberField.tsx +12 -5
- package/src/BryntumPagingToolbar.tsx +13 -6
- package/src/BryntumPanel.tsx +13 -6
- package/src/BryntumPasswordField.tsx +12 -5
- package/src/BryntumProgressBar.tsx +12 -5
- package/src/BryntumRadio.tsx +12 -5
- package/src/BryntumRadioGroup.tsx +13 -6
- package/src/BryntumSlideToggle.tsx +12 -5
- package/src/BryntumSlider.tsx +12 -5
- package/src/BryntumSplitter.tsx +12 -5
- package/src/BryntumTabPanel.tsx +13 -6
- package/src/BryntumTextAreaField.tsx +12 -5
- package/src/BryntumTextAreaPickerField.tsx +12 -5
- package/src/BryntumTextField.tsx +12 -5
- package/src/BryntumTimeField.tsx +12 -5
- package/src/BryntumTimePicker.tsx +13 -6
- package/src/BryntumToolbar.tsx +13 -6
- package/src/BryntumWidget.tsx +12 -5
- package/src/BryntumYearPicker.tsx +13 -6
- package/src/WrapperHelper.tsx +55 -17
package/src/BryntumRadio.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumRadioProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -87,9 +89,10 @@ export type BryntumRadioProps = {
|
|
|
87
89
|
catchEventHandlerExceptions? : boolean
|
|
88
90
|
/**
|
|
89
91
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
90
|
-
*
|
|
92
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-centered)
|
|
93
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
91
94
|
*/
|
|
92
|
-
centered? : boolean
|
|
95
|
+
centered? : boolean|object
|
|
93
96
|
/**
|
|
94
97
|
* The checked state. The same as `value`.
|
|
95
98
|
*/
|
|
@@ -188,7 +191,7 @@ export type BryntumRadioProps = {
|
|
|
188
191
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
189
192
|
/**
|
|
190
193
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
191
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
194
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
192
195
|
* property which controls when a drag should start.
|
|
193
196
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-draggable)
|
|
194
197
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -297,10 +300,14 @@ export type BryntumRadioProps = {
|
|
|
297
300
|
inputWidth? : string|number
|
|
298
301
|
/**
|
|
299
302
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
303
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-insertBefore)
|
|
300
305
|
*/
|
|
301
306
|
insertBefore? : HTMLElement|string
|
|
302
307
|
/**
|
|
303
308
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
309
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
310
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-insertFirst)
|
|
304
311
|
*/
|
|
305
312
|
insertFirst? : HTMLElement|string
|
|
306
313
|
/**
|
|
@@ -481,7 +488,7 @@ export type BryntumRadioProps = {
|
|
|
481
488
|
rtl? : boolean
|
|
482
489
|
/**
|
|
483
490
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
484
|
-
* Valid values:
|
|
491
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
485
492
|
*/
|
|
486
493
|
scrollAction? : 'hide'|'realign'|null
|
|
487
494
|
/**
|
|
@@ -786,7 +793,6 @@ export class BryntumRadio extends React.Component<BryntumRadioProps> {
|
|
|
786
793
|
'autoComplete',
|
|
787
794
|
'autoSelect',
|
|
788
795
|
'bubbleEvents',
|
|
789
|
-
'centered',
|
|
790
796
|
'checkedValue',
|
|
791
797
|
'checkValidity',
|
|
792
798
|
'color',
|
|
@@ -855,6 +861,7 @@ export class BryntumRadio extends React.Component<BryntumRadioProps> {
|
|
|
855
861
|
'badge',
|
|
856
862
|
'callOnFunctions',
|
|
857
863
|
'catchEventHandlerExceptions',
|
|
864
|
+
'centered',
|
|
858
865
|
'checked',
|
|
859
866
|
'cls',
|
|
860
867
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumRadioGroupProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumRadioGroupProps = {
|
|
|
86
88
|
catchEventHandlerExceptions? : boolean
|
|
87
89
|
/**
|
|
88
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-centered)
|
|
92
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
90
93
|
*/
|
|
91
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
92
95
|
/**
|
|
93
96
|
* Set this to `true` so that clicking the currently checked radio button will clear the check from all
|
|
94
97
|
* radio buttons in the group.
|
|
@@ -189,7 +192,7 @@ export type BryntumRadioGroupProps = {
|
|
|
189
192
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
190
193
|
/**
|
|
191
194
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
192
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
195
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
193
196
|
* property which controls when a drag should start.
|
|
194
197
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-draggable)
|
|
195
198
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -302,10 +305,14 @@ export type BryntumRadioGroupProps = {
|
|
|
302
305
|
inputFieldAlign? : 'start'|'end'
|
|
303
306
|
/**
|
|
304
307
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
308
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
309
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-insertBefore)
|
|
305
310
|
*/
|
|
306
311
|
insertBefore? : HTMLElement|string
|
|
307
312
|
/**
|
|
308
313
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
314
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
315
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-insertFirst)
|
|
309
316
|
*/
|
|
310
317
|
insertFirst? : HTMLElement|string
|
|
311
318
|
/**
|
|
@@ -339,7 +346,7 @@ export type BryntumRadioGroupProps = {
|
|
|
339
346
|
*/
|
|
340
347
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
341
348
|
/**
|
|
342
|
-
* Sets `labelWidth
|
|
349
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
343
350
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-labelWidth)
|
|
344
351
|
*/
|
|
345
352
|
labelWidth? : number|null
|
|
@@ -519,7 +526,7 @@ export type BryntumRadioGroupProps = {
|
|
|
519
526
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
520
527
|
/**
|
|
521
528
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
522
|
-
* Valid values:
|
|
529
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
523
530
|
*/
|
|
524
531
|
scrollAction? : 'hide'|'realign'|null
|
|
525
532
|
/**
|
|
@@ -838,7 +845,6 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
838
845
|
'bodyCls',
|
|
839
846
|
'border',
|
|
840
847
|
'bubbleEvents',
|
|
841
|
-
'centered',
|
|
842
848
|
'clearable',
|
|
843
849
|
'collapsible',
|
|
844
850
|
'color',
|
|
@@ -906,6 +912,7 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
906
912
|
'appendTo',
|
|
907
913
|
'callOnFunctions',
|
|
908
914
|
'catchEventHandlerExceptions',
|
|
915
|
+
'centered',
|
|
909
916
|
'cls',
|
|
910
917
|
'collapsed',
|
|
911
918
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumSlideToggleProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -87,9 +89,10 @@ export type BryntumSlideToggleProps = {
|
|
|
87
89
|
catchEventHandlerExceptions? : boolean
|
|
88
90
|
/**
|
|
89
91
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
90
|
-
*
|
|
92
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-centered)
|
|
93
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
91
94
|
*/
|
|
92
|
-
centered? : boolean
|
|
95
|
+
centered? : boolean|object
|
|
93
96
|
/**
|
|
94
97
|
* The checked state. The same as `value`.
|
|
95
98
|
*/
|
|
@@ -188,7 +191,7 @@ export type BryntumSlideToggleProps = {
|
|
|
188
191
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
189
192
|
/**
|
|
190
193
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
191
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
194
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
192
195
|
* property which controls when a drag should start.
|
|
193
196
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-draggable)
|
|
194
197
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -297,10 +300,14 @@ export type BryntumSlideToggleProps = {
|
|
|
297
300
|
inputWidth? : string|number
|
|
298
301
|
/**
|
|
299
302
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
303
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-insertBefore)
|
|
300
305
|
*/
|
|
301
306
|
insertBefore? : HTMLElement|string
|
|
302
307
|
/**
|
|
303
308
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
309
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
310
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-insertFirst)
|
|
304
311
|
*/
|
|
305
312
|
insertFirst? : HTMLElement|string
|
|
306
313
|
/**
|
|
@@ -481,7 +488,7 @@ export type BryntumSlideToggleProps = {
|
|
|
481
488
|
rtl? : boolean
|
|
482
489
|
/**
|
|
483
490
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
484
|
-
* Valid values:
|
|
491
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
485
492
|
*/
|
|
486
493
|
scrollAction? : 'hide'|'realign'|null
|
|
487
494
|
/**
|
|
@@ -786,7 +793,6 @@ export class BryntumSlideToggle extends React.Component<BryntumSlideToggleProps>
|
|
|
786
793
|
'autoComplete',
|
|
787
794
|
'autoSelect',
|
|
788
795
|
'bubbleEvents',
|
|
789
|
-
'centered',
|
|
790
796
|
'checkedValue',
|
|
791
797
|
'checkValidity',
|
|
792
798
|
'color',
|
|
@@ -855,6 +861,7 @@ export class BryntumSlideToggle extends React.Component<BryntumSlideToggleProps>
|
|
|
855
861
|
'badge',
|
|
856
862
|
'callOnFunctions',
|
|
857
863
|
'catchEventHandlerExceptions',
|
|
864
|
+
'centered',
|
|
858
865
|
'checked',
|
|
859
866
|
'cls',
|
|
860
867
|
'column',
|
package/src/BryntumSlider.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumSliderProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -67,9 +69,10 @@ export type BryntumSliderProps = {
|
|
|
67
69
|
catchEventHandlerExceptions? : boolean
|
|
68
70
|
/**
|
|
69
71
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
70
|
-
*
|
|
72
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-centered)
|
|
73
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
71
74
|
*/
|
|
72
|
-
centered? : boolean
|
|
75
|
+
centered? : boolean|object
|
|
73
76
|
/**
|
|
74
77
|
* Custom CSS classes to add to element.
|
|
75
78
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -143,7 +146,7 @@ export type BryntumSliderProps = {
|
|
|
143
146
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
144
147
|
/**
|
|
145
148
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
146
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
149
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
147
150
|
* property which controls when a drag should start.
|
|
148
151
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-draggable)
|
|
149
152
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -205,10 +208,14 @@ export type BryntumSliderProps = {
|
|
|
205
208
|
ignoreParentReadOnly? : boolean
|
|
206
209
|
/**
|
|
207
210
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
211
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
212
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-insertBefore)
|
|
208
213
|
*/
|
|
209
214
|
insertBefore? : HTMLElement|string
|
|
210
215
|
/**
|
|
211
216
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
217
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
218
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Slider#config-insertFirst)
|
|
212
219
|
*/
|
|
213
220
|
insertFirst? : HTMLElement|string
|
|
214
221
|
/**
|
|
@@ -371,7 +378,7 @@ export type BryntumSliderProps = {
|
|
|
371
378
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
372
379
|
/**
|
|
373
380
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
374
|
-
* Valid values:
|
|
381
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
375
382
|
*/
|
|
376
383
|
scrollAction? : 'hide'|'realign'|null
|
|
377
384
|
/**
|
|
@@ -624,7 +631,6 @@ export class BryntumSlider extends React.Component<BryntumSliderProps> {
|
|
|
624
631
|
'ariaDescription',
|
|
625
632
|
'ariaLabel',
|
|
626
633
|
'bubbleEvents',
|
|
627
|
-
'centered',
|
|
628
634
|
'color',
|
|
629
635
|
'config',
|
|
630
636
|
'constrainTo',
|
|
@@ -675,6 +681,7 @@ export class BryntumSlider extends React.Component<BryntumSliderProps> {
|
|
|
675
681
|
'appendTo',
|
|
676
682
|
'callOnFunctions',
|
|
677
683
|
'catchEventHandlerExceptions',
|
|
684
|
+
'centered',
|
|
678
685
|
'cls',
|
|
679
686
|
'column',
|
|
680
687
|
'content',
|
package/src/BryntumSplitter.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumSplitterProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -67,9 +69,10 @@ export type BryntumSplitterProps = {
|
|
|
67
69
|
catchEventHandlerExceptions? : boolean
|
|
68
70
|
/**
|
|
69
71
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
70
|
-
*
|
|
72
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-centered)
|
|
73
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
71
74
|
*/
|
|
72
|
-
centered? : boolean
|
|
75
|
+
centered? : boolean|object
|
|
73
76
|
/**
|
|
74
77
|
* Custom CSS classes to add to element.
|
|
75
78
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -143,7 +146,7 @@ export type BryntumSplitterProps = {
|
|
|
143
146
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
144
147
|
/**
|
|
145
148
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
146
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
149
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
147
150
|
* property which controls when a drag should start.
|
|
148
151
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-draggable)
|
|
149
152
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -205,10 +208,14 @@ export type BryntumSplitterProps = {
|
|
|
205
208
|
ignoreParentReadOnly? : boolean
|
|
206
209
|
/**
|
|
207
210
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
211
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
212
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-insertBefore)
|
|
208
213
|
*/
|
|
209
214
|
insertBefore? : HTMLElement|string
|
|
210
215
|
/**
|
|
211
216
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
217
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
218
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-insertFirst)
|
|
212
219
|
*/
|
|
213
220
|
insertFirst? : HTMLElement|string
|
|
214
221
|
/**
|
|
@@ -351,7 +358,7 @@ export type BryntumSplitterProps = {
|
|
|
351
358
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
352
359
|
/**
|
|
353
360
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
354
|
-
* Valid values:
|
|
361
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
355
362
|
*/
|
|
356
363
|
scrollAction? : 'hide'|'realign'|null
|
|
357
364
|
/**
|
|
@@ -572,7 +579,6 @@ export class BryntumSplitter extends React.Component<BryntumSplitterProps> {
|
|
|
572
579
|
'ariaDescription',
|
|
573
580
|
'ariaLabel',
|
|
574
581
|
'bubbleEvents',
|
|
575
|
-
'centered',
|
|
576
582
|
'color',
|
|
577
583
|
'config',
|
|
578
584
|
'constrainTo',
|
|
@@ -619,6 +625,7 @@ export class BryntumSplitter extends React.Component<BryntumSplitterProps> {
|
|
|
619
625
|
'appendTo',
|
|
620
626
|
'callOnFunctions',
|
|
621
627
|
'catchEventHandlerExceptions',
|
|
628
|
+
'centered',
|
|
622
629
|
'cls',
|
|
623
630
|
'column',
|
|
624
631
|
'content',
|
package/src/BryntumTabPanel.tsx
CHANGED
|
@@ -42,6 +42,8 @@ export type BryntumTabPanelProps = {
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -98,9 +100,10 @@ export type BryntumTabPanelProps = {
|
|
|
98
100
|
catchEventHandlerExceptions? : boolean
|
|
99
101
|
/**
|
|
100
102
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
101
|
-
*
|
|
103
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-centered)
|
|
104
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
102
105
|
*/
|
|
103
|
-
centered? : boolean
|
|
106
|
+
centered? : boolean|object
|
|
104
107
|
/**
|
|
105
108
|
* Custom CSS classes to add to element.
|
|
106
109
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -196,7 +199,7 @@ export type BryntumTabPanelProps = {
|
|
|
196
199
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
197
200
|
/**
|
|
198
201
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
199
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
202
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
200
203
|
* property which controls when a drag should start.
|
|
201
204
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-draggable)
|
|
202
205
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -303,10 +306,14 @@ export type BryntumTabPanelProps = {
|
|
|
303
306
|
inputFieldAlign? : 'start'|'end'
|
|
304
307
|
/**
|
|
305
308
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
309
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
310
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-insertBefore)
|
|
306
311
|
*/
|
|
307
312
|
insertBefore? : HTMLElement|string
|
|
308
313
|
/**
|
|
309
314
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
315
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
316
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-insertFirst)
|
|
310
317
|
*/
|
|
311
318
|
insertFirst? : HTMLElement|string
|
|
312
319
|
/**
|
|
@@ -332,7 +339,7 @@ export type BryntumTabPanelProps = {
|
|
|
332
339
|
*/
|
|
333
340
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
334
341
|
/**
|
|
335
|
-
* Sets `labelWidth
|
|
342
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
336
343
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-labelWidth)
|
|
337
344
|
*/
|
|
338
345
|
labelWidth? : number|null
|
|
@@ -498,7 +505,7 @@ export type BryntumTabPanelProps = {
|
|
|
498
505
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
499
506
|
/**
|
|
500
507
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
501
|
-
* Valid values:
|
|
508
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
502
509
|
*/
|
|
503
510
|
scrollAction? : 'hide'|'realign'|null
|
|
504
511
|
/**
|
|
@@ -845,7 +852,6 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
845
852
|
'bodyCls',
|
|
846
853
|
'border',
|
|
847
854
|
'bubbleEvents',
|
|
848
|
-
'centered',
|
|
849
855
|
'collapsible',
|
|
850
856
|
'color',
|
|
851
857
|
'config',
|
|
@@ -913,6 +919,7 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
913
919
|
'appendTo',
|
|
914
920
|
'callOnFunctions',
|
|
915
921
|
'catchEventHandlerExceptions',
|
|
922
|
+
'centered',
|
|
916
923
|
'cls',
|
|
917
924
|
'collapsed',
|
|
918
925
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumTextAreaFieldProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumTextAreaFieldProps = {
|
|
|
86
88
|
catchEventHandlerExceptions? : boolean
|
|
87
89
|
/**
|
|
88
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-centered)
|
|
92
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
90
93
|
*/
|
|
91
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
92
95
|
/**
|
|
93
96
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
97
|
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
@@ -185,7 +188,7 @@ export type BryntumTextAreaFieldProps = {
|
|
|
185
188
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
186
189
|
/**
|
|
187
190
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
188
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
191
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
189
192
|
* property which controls when a drag should start.
|
|
190
193
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-draggable)
|
|
191
194
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -301,10 +304,14 @@ export type BryntumTextAreaFieldProps = {
|
|
|
301
304
|
inputWidth? : string|number
|
|
302
305
|
/**
|
|
303
306
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
307
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
308
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-insertBefore)
|
|
304
309
|
*/
|
|
305
310
|
insertBefore? : HTMLElement|string
|
|
306
311
|
/**
|
|
307
312
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
313
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
314
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-insertFirst)
|
|
308
315
|
*/
|
|
309
316
|
insertFirst? : HTMLElement|string
|
|
310
317
|
/**
|
|
@@ -498,7 +505,7 @@ export type BryntumTextAreaFieldProps = {
|
|
|
498
505
|
rtl? : boolean
|
|
499
506
|
/**
|
|
500
507
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
501
|
-
* Valid values:
|
|
508
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
502
509
|
*/
|
|
503
510
|
scrollAction? : 'hide'|'realign'|null
|
|
504
511
|
/**
|
|
@@ -776,7 +783,6 @@ export class BryntumTextAreaField extends React.Component<BryntumTextAreaFieldPr
|
|
|
776
783
|
'autoHeight',
|
|
777
784
|
'autoSelect',
|
|
778
785
|
'bubbleEvents',
|
|
779
|
-
'centered',
|
|
780
786
|
'checkValidity',
|
|
781
787
|
'clearable',
|
|
782
788
|
'color',
|
|
@@ -845,6 +851,7 @@ export class BryntumTextAreaField extends React.Component<BryntumTextAreaFieldPr
|
|
|
845
851
|
'badge',
|
|
846
852
|
'callOnFunctions',
|
|
847
853
|
'catchEventHandlerExceptions',
|
|
854
|
+
'centered',
|
|
848
855
|
'cls',
|
|
849
856
|
'column',
|
|
850
857
|
'dataset',
|
|
@@ -34,6 +34,8 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -84,9 +86,10 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
84
86
|
catchEventHandlerExceptions? : boolean
|
|
85
87
|
/**
|
|
86
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
87
|
-
*
|
|
89
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-centered)
|
|
90
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
88
91
|
*/
|
|
89
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
90
93
|
/**
|
|
91
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
95
|
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
@@ -183,7 +186,7 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
183
186
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
184
187
|
/**
|
|
185
188
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
186
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
189
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
187
190
|
* property which controls when a drag should start.
|
|
188
191
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-draggable)
|
|
189
192
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -292,10 +295,14 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
292
295
|
inputWidth? : string|number
|
|
293
296
|
/**
|
|
294
297
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
298
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
299
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-insertBefore)
|
|
295
300
|
*/
|
|
296
301
|
insertBefore? : HTMLElement|string
|
|
297
302
|
/**
|
|
298
303
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
304
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
305
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-insertFirst)
|
|
299
306
|
*/
|
|
300
307
|
insertFirst? : HTMLElement|string
|
|
301
308
|
/**
|
|
@@ -507,7 +514,7 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
507
514
|
rtl? : boolean
|
|
508
515
|
/**
|
|
509
516
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
510
|
-
* Valid values:
|
|
517
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
511
518
|
*/
|
|
512
519
|
scrollAction? : 'hide'|'realign'|null
|
|
513
520
|
/**
|
|
@@ -785,7 +792,6 @@ export class BryntumTextAreaPickerField extends React.Component<BryntumTextAreaP
|
|
|
785
792
|
'autoExpand',
|
|
786
793
|
'autoSelect',
|
|
787
794
|
'bubbleEvents',
|
|
788
|
-
'centered',
|
|
789
795
|
'checkValidity',
|
|
790
796
|
'clearable',
|
|
791
797
|
'color',
|
|
@@ -858,6 +864,7 @@ export class BryntumTextAreaPickerField extends React.Component<BryntumTextAreaP
|
|
|
858
864
|
'badge',
|
|
859
865
|
'callOnFunctions',
|
|
860
866
|
'catchEventHandlerExceptions',
|
|
867
|
+
'centered',
|
|
861
868
|
'cls',
|
|
862
869
|
'column',
|
|
863
870
|
'dataset',
|