@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/BryntumChatPanel.tsx
CHANGED
|
@@ -38,6 +38,8 @@ export type BryntumChatPanelProps = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
40
40
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
41
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-appendTo)
|
|
41
43
|
*/
|
|
42
44
|
appendTo? : HTMLElement|string
|
|
43
45
|
/**
|
|
@@ -100,9 +102,10 @@ export type BryntumChatPanelProps = {
|
|
|
100
102
|
catchEventHandlerExceptions? : boolean
|
|
101
103
|
/**
|
|
102
104
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
103
|
-
*
|
|
105
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-centered)
|
|
106
|
+
* @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.
|
|
104
107
|
*/
|
|
105
|
-
centered? : boolean
|
|
108
|
+
centered? : boolean|object
|
|
106
109
|
/**
|
|
107
110
|
* Custom CSS classes to add to element.
|
|
108
111
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -198,7 +201,7 @@ export type BryntumChatPanelProps = {
|
|
|
198
201
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
199
202
|
/**
|
|
200
203
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
201
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
204
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
202
205
|
* property which controls when a drag should start.
|
|
203
206
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-draggable)
|
|
204
207
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -310,10 +313,14 @@ export type BryntumChatPanelProps = {
|
|
|
310
313
|
inputFieldAlign? : 'start'|'end'
|
|
311
314
|
/**
|
|
312
315
|
* 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.
|
|
316
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
317
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-insertBefore)
|
|
313
318
|
*/
|
|
314
319
|
insertBefore? : HTMLElement|string
|
|
315
320
|
/**
|
|
316
321
|
* 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.
|
|
322
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
323
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-insertFirst)
|
|
317
324
|
*/
|
|
318
325
|
insertFirst? : HTMLElement|string
|
|
319
326
|
/**
|
|
@@ -343,7 +350,7 @@ export type BryntumChatPanelProps = {
|
|
|
343
350
|
*/
|
|
344
351
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
345
352
|
/**
|
|
346
|
-
* Sets `labelWidth
|
|
353
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
347
354
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-labelWidth)
|
|
348
355
|
*/
|
|
349
356
|
labelWidth? : number|null
|
|
@@ -521,7 +528,7 @@ export type BryntumChatPanelProps = {
|
|
|
521
528
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
522
529
|
/**
|
|
523
530
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
524
|
-
* Valid values:
|
|
531
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
525
532
|
*/
|
|
526
533
|
scrollAction? : 'hide'|'realign'|null
|
|
527
534
|
/**
|
|
@@ -866,7 +873,6 @@ export class BryntumChatPanel extends React.Component<BryntumChatPanelProps> {
|
|
|
866
873
|
'bodyCls',
|
|
867
874
|
'border',
|
|
868
875
|
'bubbleEvents',
|
|
869
|
-
'centered',
|
|
870
876
|
'collapsible',
|
|
871
877
|
'color',
|
|
872
878
|
'config',
|
|
@@ -934,6 +940,7 @@ export class BryntumChatPanel extends React.Component<BryntumChatPanelProps> {
|
|
|
934
940
|
'bubbleTools',
|
|
935
941
|
'callOnFunctions',
|
|
936
942
|
'catchEventHandlerExceptions',
|
|
943
|
+
'centered',
|
|
937
944
|
'cls',
|
|
938
945
|
'collapsed',
|
|
939
946
|
'column',
|
package/src/BryntumCheckbox.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumCheckboxProps = {
|
|
|
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/Checkbox#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -87,9 +89,10 @@ export type BryntumCheckboxProps = {
|
|
|
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/Checkbox#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 BryntumCheckboxProps = {
|
|
|
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/Checkbox#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 BryntumCheckboxProps = {
|
|
|
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/Checkbox#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/Checkbox#config-insertFirst)
|
|
304
311
|
*/
|
|
305
312
|
insertFirst? : HTMLElement|string
|
|
306
313
|
/**
|
|
@@ -481,7 +488,7 @@ export type BryntumCheckboxProps = {
|
|
|
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 BryntumCheckbox extends React.Component<BryntumCheckboxProps> {
|
|
|
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 BryntumCheckbox extends React.Component<BryntumCheckboxProps> {
|
|
|
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 BryntumCheckboxGroupProps = {
|
|
|
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/CheckboxGroup#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumCheckboxGroupProps = {
|
|
|
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/CheckboxGroup#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
|
* Custom CSS classes to add to element.
|
|
94
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -184,7 +187,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
184
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
185
188
|
/**
|
|
186
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
187
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
190
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
188
191
|
* property which controls when a drag should start.
|
|
189
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-draggable)
|
|
190
193
|
* @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 BryntumCheckboxGroupProps = {
|
|
|
297
300
|
inputFieldAlign? : 'start'|'end'
|
|
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/CheckboxGroup#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/CheckboxGroup#config-insertFirst)
|
|
304
311
|
*/
|
|
305
312
|
insertFirst? : HTMLElement|string
|
|
306
313
|
/**
|
|
@@ -334,7 +341,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
334
341
|
*/
|
|
335
342
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
336
343
|
/**
|
|
337
|
-
* Sets `labelWidth
|
|
344
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
338
345
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-labelWidth)
|
|
339
346
|
*/
|
|
340
347
|
labelWidth? : number|null
|
|
@@ -527,7 +534,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
527
534
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
528
535
|
/**
|
|
529
536
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
530
|
-
* Valid values:
|
|
537
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
531
538
|
*/
|
|
532
539
|
scrollAction? : 'hide'|'realign'|null
|
|
533
540
|
/**
|
|
@@ -861,7 +868,6 @@ export class BryntumCheckboxGroup extends React.Component<BryntumCheckboxGroupPr
|
|
|
861
868
|
'bodyCls',
|
|
862
869
|
'border',
|
|
863
870
|
'bubbleEvents',
|
|
864
|
-
'centered',
|
|
865
871
|
'collapsible',
|
|
866
872
|
'color',
|
|
867
873
|
'config',
|
|
@@ -928,6 +934,7 @@ export class BryntumCheckboxGroup extends React.Component<BryntumCheckboxGroupPr
|
|
|
928
934
|
'appendTo',
|
|
929
935
|
'callOnFunctions',
|
|
930
936
|
'catchEventHandlerExceptions',
|
|
937
|
+
'centered',
|
|
931
938
|
'cls',
|
|
932
939
|
'collapsed',
|
|
933
940
|
'column',
|
package/src/BryntumChipView.tsx
CHANGED
|
@@ -44,6 +44,8 @@ export type BryntumChipViewProps = {
|
|
|
44
44
|
/**
|
|
45
45
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
46
46
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
47
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-appendTo)
|
|
47
49
|
*/
|
|
48
50
|
appendTo? : HTMLElement|string
|
|
49
51
|
/**
|
|
@@ -77,9 +79,10 @@ export type BryntumChipViewProps = {
|
|
|
77
79
|
catchEventHandlerExceptions? : boolean
|
|
78
80
|
/**
|
|
79
81
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
80
|
-
*
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-centered)
|
|
83
|
+
* @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.
|
|
81
84
|
*/
|
|
82
|
-
centered? : boolean
|
|
85
|
+
centered? : boolean|object
|
|
83
86
|
/**
|
|
84
87
|
* Configure as `true` to clear selection when clicking on empty space inside the List´s element.
|
|
85
88
|
*/
|
|
@@ -93,9 +96,11 @@ export type BryntumChipViewProps = {
|
|
|
93
96
|
/**
|
|
94
97
|
* If [closable](https://bryntum.com/products/core/docs/api/Core/widget/ChipView#config-closable) is `true`, this is the name of a callback function to handle what the "close"
|
|
95
98
|
* action means. If not provided, the record representing the chip is removed from the store.
|
|
99
|
+
* @param {Core.data.Model[]} records Records to be closed
|
|
100
|
+
* @param {object} options Close options
|
|
96
101
|
* @returns {void}
|
|
97
102
|
*/
|
|
98
|
-
closeHandler? : string|(() => void)
|
|
103
|
+
closeHandler? : string|((records: Model[], options: object) => void)
|
|
99
104
|
/**
|
|
100
105
|
* Custom CSS classes to add to element.
|
|
101
106
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -177,7 +182,7 @@ export type BryntumChipViewProps = {
|
|
|
177
182
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
178
183
|
/**
|
|
179
184
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
180
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
185
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
181
186
|
* property which controls when a drag should start.
|
|
182
187
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-draggable)
|
|
183
188
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -272,10 +277,14 @@ export type BryntumChipViewProps = {
|
|
|
272
277
|
ignoreParentReadOnly? : boolean
|
|
273
278
|
/**
|
|
274
279
|
* 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.
|
|
280
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
281
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-insertBefore)
|
|
275
282
|
*/
|
|
276
283
|
insertBefore? : HTMLElement|string
|
|
277
284
|
/**
|
|
278
285
|
* 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.
|
|
286
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
287
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-insertFirst)
|
|
279
288
|
*/
|
|
280
289
|
insertFirst? : HTMLElement|string
|
|
281
290
|
/**
|
|
@@ -436,7 +445,7 @@ export type BryntumChipViewProps = {
|
|
|
436
445
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
437
446
|
/**
|
|
438
447
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
439
|
-
* Valid values:
|
|
448
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
440
449
|
*/
|
|
441
450
|
scrollAction? : 'hide'|'realign'|null
|
|
442
451
|
/**
|
|
@@ -709,7 +718,6 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
|
|
|
709
718
|
'ariaDescription',
|
|
710
719
|
'ariaLabel',
|
|
711
720
|
'bubbleEvents',
|
|
712
|
-
'centered',
|
|
713
721
|
'closable',
|
|
714
722
|
'closeHandler',
|
|
715
723
|
'color',
|
|
@@ -766,6 +774,7 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
|
|
|
766
774
|
'appendTo',
|
|
767
775
|
'callOnFunctions',
|
|
768
776
|
'catchEventHandlerExceptions',
|
|
777
|
+
'centered',
|
|
769
778
|
'clearSelectionOnEmptySpaceClick',
|
|
770
779
|
'cls',
|
|
771
780
|
'collapsibleGroups',
|
|
@@ -34,6 +34,8 @@ export type BryntumCodeEditorProps = {
|
|
|
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/CodeEditor#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumCodeEditorProps = {
|
|
|
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/CodeEditor#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
|
* Custom CSS classes to add to element.
|
|
94
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -189,7 +192,7 @@ export type BryntumCodeEditorProps = {
|
|
|
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/CodeEditor#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
|
|
@@ -300,10 +303,14 @@ export type BryntumCodeEditorProps = {
|
|
|
300
303
|
inputFieldAlign? : 'start'|'end'
|
|
301
304
|
/**
|
|
302
305
|
* 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.
|
|
306
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
307
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-insertBefore)
|
|
303
308
|
*/
|
|
304
309
|
insertBefore? : HTMLElement|string
|
|
305
310
|
/**
|
|
306
311
|
* 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.
|
|
312
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
313
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-insertFirst)
|
|
307
314
|
*/
|
|
308
315
|
insertFirst? : HTMLElement|string
|
|
309
316
|
/**
|
|
@@ -329,7 +336,7 @@ export type BryntumCodeEditorProps = {
|
|
|
329
336
|
*/
|
|
330
337
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
331
338
|
/**
|
|
332
|
-
* Sets `labelWidth
|
|
339
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
333
340
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-labelWidth)
|
|
334
341
|
*/
|
|
335
342
|
labelWidth? : number|null
|
|
@@ -498,7 +505,7 @@ export type BryntumCodeEditorProps = {
|
|
|
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
|
/**
|
|
@@ -824,7 +831,6 @@ export class BryntumCodeEditor extends React.Component<BryntumCodeEditorProps> {
|
|
|
824
831
|
'bodyCls',
|
|
825
832
|
'border',
|
|
826
833
|
'bubbleEvents',
|
|
827
|
-
'centered',
|
|
828
834
|
'codePath',
|
|
829
835
|
'collapsible',
|
|
830
836
|
'color',
|
|
@@ -890,6 +896,7 @@ export class BryntumCodeEditor extends React.Component<BryntumCodeEditorProps> {
|
|
|
890
896
|
'appendTo',
|
|
891
897
|
'callOnFunctions',
|
|
892
898
|
'catchEventHandlerExceptions',
|
|
899
|
+
'centered',
|
|
893
900
|
'cls',
|
|
894
901
|
'collapsed',
|
|
895
902
|
'column',
|
|
@@ -38,6 +38,8 @@ export type BryntumColorFieldProps = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
40
40
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
41
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-appendTo)
|
|
41
43
|
*/
|
|
42
44
|
appendTo? : HTMLElement|string
|
|
43
45
|
/**
|
|
@@ -88,9 +90,10 @@ export type BryntumColorFieldProps = {
|
|
|
88
90
|
catchEventHandlerExceptions? : boolean
|
|
89
91
|
/**
|
|
90
92
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
91
|
-
*
|
|
93
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-centered)
|
|
94
|
+
* @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.
|
|
92
95
|
*/
|
|
93
|
-
centered? : boolean
|
|
96
|
+
centered? : boolean|object
|
|
94
97
|
/**
|
|
95
98
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
96
99
|
* 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)
|
|
@@ -188,7 +191,7 @@ export type BryntumColorFieldProps = {
|
|
|
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/ColorField#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 BryntumColorFieldProps = {
|
|
|
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/ColorField#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/ColorField#config-insertFirst)
|
|
304
311
|
*/
|
|
305
312
|
insertFirst? : HTMLElement|string
|
|
306
313
|
/**
|
|
@@ -502,7 +509,7 @@ export type BryntumColorFieldProps = {
|
|
|
502
509
|
rtl? : boolean
|
|
503
510
|
/**
|
|
504
511
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
505
|
-
* Valid values:
|
|
512
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
506
513
|
*/
|
|
507
514
|
scrollAction? : 'hide'|'realign'|null
|
|
508
515
|
/**
|
|
@@ -780,7 +787,6 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
|
|
|
780
787
|
'autoExpand',
|
|
781
788
|
'autoSelect',
|
|
782
789
|
'bubbleEvents',
|
|
783
|
-
'centered',
|
|
784
790
|
'checkValidity',
|
|
785
791
|
'clearable',
|
|
786
792
|
'config',
|
|
@@ -851,6 +857,7 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
|
|
|
851
857
|
'badge',
|
|
852
858
|
'callOnFunctions',
|
|
853
859
|
'catchEventHandlerExceptions',
|
|
860
|
+
'centered',
|
|
854
861
|
'cls',
|
|
855
862
|
'colors',
|
|
856
863
|
'column',
|
package/src/BryntumCombo.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumComboProps = {
|
|
|
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/Combo#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -93,9 +95,10 @@ export type BryntumComboProps = {
|
|
|
93
95
|
catchEventHandlerExceptions? : boolean
|
|
94
96
|
/**
|
|
95
97
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
96
|
-
*
|
|
98
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-centered)
|
|
99
|
+
* @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.
|
|
97
100
|
*/
|
|
98
|
-
centered? : boolean
|
|
101
|
+
centered? : boolean|object
|
|
99
102
|
/**
|
|
100
103
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
101
104
|
* 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)
|
|
@@ -231,7 +234,7 @@ export type BryntumComboProps = {
|
|
|
231
234
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
232
235
|
/**
|
|
233
236
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
234
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
237
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
235
238
|
* property which controls when a drag should start.
|
|
236
239
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-draggable)
|
|
237
240
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -398,10 +401,14 @@ export type BryntumComboProps = {
|
|
|
398
401
|
inputWidth? : string|number
|
|
399
402
|
/**
|
|
400
403
|
* 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.
|
|
404
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
405
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-insertBefore)
|
|
401
406
|
*/
|
|
402
407
|
insertBefore? : HTMLElement|string
|
|
403
408
|
/**
|
|
404
409
|
* 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.
|
|
410
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
411
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-insertFirst)
|
|
405
412
|
*/
|
|
406
413
|
insertFirst? : HTMLElement|string
|
|
407
414
|
/**
|
|
@@ -662,7 +669,7 @@ export type BryntumComboProps = {
|
|
|
662
669
|
rtl? : boolean
|
|
663
670
|
/**
|
|
664
671
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
665
|
-
* Valid values:
|
|
672
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
666
673
|
*/
|
|
667
674
|
scrollAction? : 'hide'|'realign'|null
|
|
668
675
|
/**
|
|
@@ -968,7 +975,6 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
|
|
|
968
975
|
'bubbleEvents',
|
|
969
976
|
'cacheLastResult',
|
|
970
977
|
'caseSensitive',
|
|
971
|
-
'centered',
|
|
972
978
|
'checkValidity',
|
|
973
979
|
'chipView',
|
|
974
980
|
'clearable',
|
|
@@ -1066,6 +1072,7 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
|
|
|
1066
1072
|
'badge',
|
|
1067
1073
|
'callOnFunctions',
|
|
1068
1074
|
'catchEventHandlerExceptions',
|
|
1075
|
+
'centered',
|
|
1069
1076
|
'cls',
|
|
1070
1077
|
'column',
|
|
1071
1078
|
'dataset',
|
package/src/BryntumContainer.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumContainerProps = {
|
|
|
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/Container#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -75,9 +77,10 @@ export type BryntumContainerProps = {
|
|
|
75
77
|
catchEventHandlerExceptions? : boolean
|
|
76
78
|
/**
|
|
77
79
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
78
|
-
*
|
|
80
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-centered)
|
|
81
|
+
* @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.
|
|
79
82
|
*/
|
|
80
|
-
centered? : boolean
|
|
83
|
+
centered? : boolean|object
|
|
81
84
|
/**
|
|
82
85
|
* Custom CSS classes to add to element.
|
|
83
86
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -163,7 +166,7 @@ export type BryntumContainerProps = {
|
|
|
163
166
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
164
167
|
/**
|
|
165
168
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
166
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
169
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
167
170
|
* property which controls when a drag should start.
|
|
168
171
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-draggable)
|
|
169
172
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -238,10 +241,14 @@ export type BryntumContainerProps = {
|
|
|
238
241
|
inputFieldAlign? : 'start'|'end'
|
|
239
242
|
/**
|
|
240
243
|
* 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.
|
|
244
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
245
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-insertBefore)
|
|
241
246
|
*/
|
|
242
247
|
insertBefore? : HTMLElement|string
|
|
243
248
|
/**
|
|
244
249
|
* 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.
|
|
250
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
251
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-insertFirst)
|
|
245
252
|
*/
|
|
246
253
|
insertFirst? : HTMLElement|string
|
|
247
254
|
/**
|
|
@@ -267,7 +274,7 @@ export type BryntumContainerProps = {
|
|
|
267
274
|
*/
|
|
268
275
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
269
276
|
/**
|
|
270
|
-
* Sets `labelWidth
|
|
277
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
271
278
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-labelWidth)
|
|
272
279
|
*/
|
|
273
280
|
labelWidth? : number|null
|
|
@@ -433,7 +440,7 @@ export type BryntumContainerProps = {
|
|
|
433
440
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
434
441
|
/**
|
|
435
442
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
436
|
-
* Valid values:
|
|
443
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
437
444
|
*/
|
|
438
445
|
scrollAction? : 'hide'|'realign'|null
|
|
439
446
|
/**
|
|
@@ -661,7 +668,6 @@ export class BryntumContainer extends React.Component<BryntumContainerProps> {
|
|
|
661
668
|
'autoUpdateRecord',
|
|
662
669
|
'border',
|
|
663
670
|
'bubbleEvents',
|
|
664
|
-
'centered',
|
|
665
671
|
'color',
|
|
666
672
|
'config',
|
|
667
673
|
'constrainTo',
|
|
@@ -714,6 +720,7 @@ export class BryntumContainer extends React.Component<BryntumContainerProps> {
|
|
|
714
720
|
'appendTo',
|
|
715
721
|
'callOnFunctions',
|
|
716
722
|
'catchEventHandlerExceptions',
|
|
723
|
+
'centered',
|
|
717
724
|
'cls',
|
|
718
725
|
'column',
|
|
719
726
|
'content',
|