@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
|
@@ -34,6 +34,8 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
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/FieldFilterPicker#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -75,9 +77,10 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
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/FieldFilterPicker#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
|
|
@@ -166,7 +169,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
166
169
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
167
170
|
/**
|
|
168
171
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
169
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
172
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
170
173
|
* property which controls when a drag should start.
|
|
171
174
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-draggable)
|
|
172
175
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -262,10 +265,14 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
262
265
|
inputFieldAlign? : 'start'|'end'
|
|
263
266
|
/**
|
|
264
267
|
* 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.
|
|
268
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
269
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-insertBefore)
|
|
265
270
|
*/
|
|
266
271
|
insertBefore? : HTMLElement|string
|
|
267
272
|
/**
|
|
268
273
|
* 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.
|
|
274
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-insertFirst)
|
|
269
276
|
*/
|
|
270
277
|
insertFirst? : HTMLElement|string
|
|
271
278
|
/**
|
|
@@ -291,7 +298,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
291
298
|
*/
|
|
292
299
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
293
300
|
/**
|
|
294
|
-
* Sets `labelWidth
|
|
301
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
295
302
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-labelWidth)
|
|
296
303
|
*/
|
|
297
304
|
labelWidth? : number|null
|
|
@@ -473,7 +480,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
473
480
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
474
481
|
/**
|
|
475
482
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
476
|
-
* Valid values:
|
|
483
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
477
484
|
*/
|
|
478
485
|
scrollAction? : 'hide'|'realign'|null
|
|
479
486
|
/**
|
|
@@ -728,7 +735,6 @@ export class BryntumFieldFilterPicker extends React.Component<BryntumFieldFilter
|
|
|
728
735
|
'autoUpdateRecord',
|
|
729
736
|
'border',
|
|
730
737
|
'bubbleEvents',
|
|
731
|
-
'centered',
|
|
732
738
|
'color',
|
|
733
739
|
'config',
|
|
734
740
|
'constrainTo',
|
|
@@ -793,6 +799,7 @@ export class BryntumFieldFilterPicker extends React.Component<BryntumFieldFilter
|
|
|
793
799
|
'appendTo',
|
|
794
800
|
'callOnFunctions',
|
|
795
801
|
'catchEventHandlerExceptions',
|
|
802
|
+
'centered',
|
|
796
803
|
'cls',
|
|
797
804
|
'column',
|
|
798
805
|
'content',
|
|
@@ -44,6 +44,8 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
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/FieldFilterPickerGroup#config-appendTo)
|
|
47
49
|
*/
|
|
48
50
|
appendTo? : HTMLElement|string
|
|
49
51
|
/**
|
|
@@ -101,9 +103,10 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
101
103
|
catchEventHandlerExceptions? : boolean
|
|
102
104
|
/**
|
|
103
105
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
104
|
-
*
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-centered)
|
|
107
|
+
* @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.
|
|
105
108
|
*/
|
|
106
|
-
centered? : boolean
|
|
109
|
+
centered? : boolean|object
|
|
107
110
|
/**
|
|
108
111
|
* Custom CSS classes to add to element.
|
|
109
112
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -192,7 +195,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
192
195
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
193
196
|
/**
|
|
194
197
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
195
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
198
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
196
199
|
* property which controls when a drag should start.
|
|
197
200
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-draggable)
|
|
198
201
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -290,10 +293,14 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
290
293
|
inputFieldAlign? : 'start'|'end'
|
|
291
294
|
/**
|
|
292
295
|
* 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.
|
|
296
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
297
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-insertBefore)
|
|
293
298
|
*/
|
|
294
299
|
insertBefore? : HTMLElement|string
|
|
295
300
|
/**
|
|
296
301
|
* 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.
|
|
302
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
303
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-insertFirst)
|
|
297
304
|
*/
|
|
298
305
|
insertFirst? : HTMLElement|string
|
|
299
306
|
/**
|
|
@@ -319,7 +326,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
319
326
|
*/
|
|
320
327
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
321
328
|
/**
|
|
322
|
-
* Sets `labelWidth
|
|
329
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
323
330
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-labelWidth)
|
|
324
331
|
*/
|
|
325
332
|
labelWidth? : number|null
|
|
@@ -496,7 +503,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
496
503
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
497
504
|
/**
|
|
498
505
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
499
|
-
* Valid values:
|
|
506
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
500
507
|
*/
|
|
501
508
|
scrollAction? : 'hide'|'realign'|null
|
|
502
509
|
/**
|
|
@@ -760,7 +767,6 @@ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldF
|
|
|
760
767
|
'bubbleEvents',
|
|
761
768
|
'canDeleteFilter',
|
|
762
769
|
'canManageFilter',
|
|
763
|
-
'centered',
|
|
764
770
|
'color',
|
|
765
771
|
'config',
|
|
766
772
|
'constrainTo',
|
|
@@ -822,6 +828,7 @@ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldF
|
|
|
822
828
|
'appendTo',
|
|
823
829
|
'callOnFunctions',
|
|
824
830
|
'catchEventHandlerExceptions',
|
|
831
|
+
'centered',
|
|
825
832
|
'cls',
|
|
826
833
|
'column',
|
|
827
834
|
'content',
|
package/src/BryntumFieldSet.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumFieldSetProps = {
|
|
|
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/FieldSet#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumFieldSetProps = {
|
|
|
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/FieldSet#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 BryntumFieldSetProps = {
|
|
|
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/FieldSet#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 BryntumFieldSetProps = {
|
|
|
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/FieldSet#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/FieldSet#config-insertFirst)
|
|
304
311
|
*/
|
|
305
312
|
insertFirst? : HTMLElement|string
|
|
306
313
|
/**
|
|
@@ -334,7 +341,7 @@ export type BryntumFieldSetProps = {
|
|
|
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/FieldSet#config-labelWidth)
|
|
339
346
|
*/
|
|
340
347
|
labelWidth? : number|null
|
|
@@ -500,7 +507,7 @@ export type BryntumFieldSetProps = {
|
|
|
500
507
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
501
508
|
/**
|
|
502
509
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
503
|
-
* Valid values:
|
|
510
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
504
511
|
*/
|
|
505
512
|
scrollAction? : 'hide'|'realign'|null
|
|
506
513
|
/**
|
|
@@ -814,7 +821,6 @@ export class BryntumFieldSet extends React.Component<BryntumFieldSetProps> {
|
|
|
814
821
|
'bodyCls',
|
|
815
822
|
'border',
|
|
816
823
|
'bubbleEvents',
|
|
817
|
-
'centered',
|
|
818
824
|
'collapsible',
|
|
819
825
|
'color',
|
|
820
826
|
'config',
|
|
@@ -879,6 +885,7 @@ export class BryntumFieldSet extends React.Component<BryntumFieldSetProps> {
|
|
|
879
885
|
'appendTo',
|
|
880
886
|
'callOnFunctions',
|
|
881
887
|
'catchEventHandlerExceptions',
|
|
888
|
+
'centered',
|
|
882
889
|
'cls',
|
|
883
890
|
'collapsed',
|
|
884
891
|
'column',
|
package/src/BryntumFileField.tsx
CHANGED
|
@@ -39,6 +39,8 @@ export type BryntumFileFieldProps = {
|
|
|
39
39
|
/**
|
|
40
40
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
41
41
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
42
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
43
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-appendTo)
|
|
42
44
|
*/
|
|
43
45
|
appendTo? : HTMLElement|string
|
|
44
46
|
/**
|
|
@@ -85,9 +87,10 @@ export type BryntumFileFieldProps = {
|
|
|
85
87
|
catchEventHandlerExceptions? : boolean
|
|
86
88
|
/**
|
|
87
89
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
88
|
-
*
|
|
90
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-centered)
|
|
91
|
+
* @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.
|
|
89
92
|
*/
|
|
90
|
-
centered? : boolean
|
|
93
|
+
centered? : boolean|object
|
|
91
94
|
/**
|
|
92
95
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
93
96
|
* 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)
|
|
@@ -184,7 +187,7 @@ export type BryntumFileFieldProps = {
|
|
|
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/FileField#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
|
|
@@ -300,10 +303,14 @@ export type BryntumFileFieldProps = {
|
|
|
300
303
|
inputWidth? : string|number
|
|
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/FileField#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/FileField#config-insertFirst)
|
|
307
314
|
*/
|
|
308
315
|
insertFirst? : HTMLElement|string
|
|
309
316
|
/**
|
|
@@ -494,7 +501,7 @@ export type BryntumFileFieldProps = {
|
|
|
494
501
|
rtl? : boolean
|
|
495
502
|
/**
|
|
496
503
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
497
|
-
* Valid values:
|
|
504
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
498
505
|
*/
|
|
499
506
|
scrollAction? : 'hide'|'realign'|null
|
|
500
507
|
/**
|
|
@@ -772,7 +779,6 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
772
779
|
'autoComplete',
|
|
773
780
|
'autoSelect',
|
|
774
781
|
'bubbleEvents',
|
|
775
|
-
'centered',
|
|
776
782
|
'checkValidity',
|
|
777
783
|
'clearable',
|
|
778
784
|
'color',
|
|
@@ -841,6 +847,7 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
841
847
|
'badge',
|
|
842
848
|
'callOnFunctions',
|
|
843
849
|
'catchEventHandlerExceptions',
|
|
850
|
+
'centered',
|
|
844
851
|
'cls',
|
|
845
852
|
'column',
|
|
846
853
|
'dataset',
|
|
@@ -34,6 +34,8 @@ export type BryntumFilePickerProps = {
|
|
|
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/FilePicker#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -79,9 +81,10 @@ export type BryntumFilePickerProps = {
|
|
|
79
81
|
catchEventHandlerExceptions? : boolean
|
|
80
82
|
/**
|
|
81
83
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
82
|
-
*
|
|
84
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-centered)
|
|
85
|
+
* @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.
|
|
83
86
|
*/
|
|
84
|
-
centered? : boolean
|
|
87
|
+
centered? : boolean|object
|
|
85
88
|
/**
|
|
86
89
|
* Custom CSS classes to add to element.
|
|
87
90
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -167,7 +170,7 @@ export type BryntumFilePickerProps = {
|
|
|
167
170
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
168
171
|
/**
|
|
169
172
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
170
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
173
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
171
174
|
* property which controls when a drag should start.
|
|
172
175
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-draggable)
|
|
173
176
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -246,10 +249,14 @@ export type BryntumFilePickerProps = {
|
|
|
246
249
|
inputFieldAlign? : 'start'|'end'
|
|
247
250
|
/**
|
|
248
251
|
* 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.
|
|
252
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
253
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-insertBefore)
|
|
249
254
|
*/
|
|
250
255
|
insertBefore? : HTMLElement|string
|
|
251
256
|
/**
|
|
252
257
|
* 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.
|
|
258
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
259
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-insertFirst)
|
|
253
260
|
*/
|
|
254
261
|
insertFirst? : HTMLElement|string
|
|
255
262
|
/**
|
|
@@ -275,7 +282,7 @@ export type BryntumFilePickerProps = {
|
|
|
275
282
|
*/
|
|
276
283
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
277
284
|
/**
|
|
278
|
-
* Sets `labelWidth
|
|
285
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
279
286
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-labelWidth)
|
|
280
287
|
*/
|
|
281
288
|
labelWidth? : number|null
|
|
@@ -441,7 +448,7 @@ export type BryntumFilePickerProps = {
|
|
|
441
448
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
442
449
|
/**
|
|
443
450
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
444
|
-
* Valid values:
|
|
451
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
445
452
|
*/
|
|
446
453
|
scrollAction? : 'hide'|'realign'|null
|
|
447
454
|
/**
|
|
@@ -684,7 +691,6 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
|
|
|
684
691
|
'border',
|
|
685
692
|
'bubbleEvents',
|
|
686
693
|
'buttonConfig',
|
|
687
|
-
'centered',
|
|
688
694
|
'color',
|
|
689
695
|
'config',
|
|
690
696
|
'constrainTo',
|
|
@@ -738,6 +744,7 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
|
|
|
738
744
|
'appendTo',
|
|
739
745
|
'callOnFunctions',
|
|
740
746
|
'catchEventHandlerExceptions',
|
|
747
|
+
'centered',
|
|
741
748
|
'cls',
|
|
742
749
|
'column',
|
|
743
750
|
'content',
|
|
@@ -34,6 +34,8 @@ export type BryntumFilterFieldProps = {
|
|
|
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/FilterField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -80,9 +82,10 @@ export type BryntumFilterFieldProps = {
|
|
|
80
82
|
catchEventHandlerExceptions? : boolean
|
|
81
83
|
/**
|
|
82
84
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
83
|
-
*
|
|
85
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-centered)
|
|
86
|
+
* @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.
|
|
84
87
|
*/
|
|
85
|
-
centered? : boolean
|
|
88
|
+
centered? : boolean|object
|
|
86
89
|
/**
|
|
87
90
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
88
91
|
* 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)
|
|
@@ -179,7 +182,7 @@ export type BryntumFilterFieldProps = {
|
|
|
179
182
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
180
183
|
/**
|
|
181
184
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
182
|
-
* 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`
|
|
183
186
|
* property which controls when a drag should start.
|
|
184
187
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-draggable)
|
|
185
188
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -314,10 +317,14 @@ export type BryntumFilterFieldProps = {
|
|
|
314
317
|
inputWidth? : string|number
|
|
315
318
|
/**
|
|
316
319
|
* 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.
|
|
320
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
321
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-insertBefore)
|
|
317
322
|
*/
|
|
318
323
|
insertBefore? : HTMLElement|string
|
|
319
324
|
/**
|
|
320
325
|
* 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.
|
|
326
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
327
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-insertFirst)
|
|
321
328
|
*/
|
|
322
329
|
insertFirst? : HTMLElement|string
|
|
323
330
|
/**
|
|
@@ -521,7 +528,7 @@ export type BryntumFilterFieldProps = {
|
|
|
521
528
|
rtl? : boolean
|
|
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
|
/**
|
|
@@ -802,7 +809,6 @@ export class BryntumFilterField extends React.Component<BryntumFilterFieldProps>
|
|
|
802
809
|
'autoComplete',
|
|
803
810
|
'autoSelect',
|
|
804
811
|
'bubbleEvents',
|
|
805
|
-
'centered',
|
|
806
812
|
'checkValidity',
|
|
807
813
|
'clearable',
|
|
808
814
|
'color',
|
|
@@ -877,6 +883,7 @@ export class BryntumFilterField extends React.Component<BryntumFilterFieldProps>
|
|
|
877
883
|
'badge',
|
|
878
884
|
'callOnFunctions',
|
|
879
885
|
'catchEventHandlerExceptions',
|
|
886
|
+
'centered',
|
|
880
887
|
'cls',
|
|
881
888
|
'column',
|
|
882
889
|
'dataset',
|
package/src/BryntumHint.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumHintProps = {
|
|
|
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/Hint#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -307,10 +309,14 @@ export type BryntumHintProps = {
|
|
|
307
309
|
inputFieldAlign? : 'start'|'end'
|
|
308
310
|
/**
|
|
309
311
|
* 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.
|
|
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/Hint#config-insertBefore)
|
|
310
314
|
*/
|
|
311
315
|
insertBefore? : HTMLElement|string
|
|
312
316
|
/**
|
|
313
317
|
* 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.
|
|
318
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
319
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Hint#config-insertFirst)
|
|
314
320
|
*/
|
|
315
321
|
insertFirst? : HTMLElement|string
|
|
316
322
|
/**
|
|
@@ -336,7 +342,7 @@ export type BryntumHintProps = {
|
|
|
336
342
|
*/
|
|
337
343
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
338
344
|
/**
|
|
339
|
-
* Sets `labelWidth
|
|
345
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
340
346
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Hint#config-labelWidth)
|
|
341
347
|
*/
|
|
342
348
|
labelWidth? : number|null
|
|
@@ -551,7 +557,7 @@ export type BryntumHintProps = {
|
|
|
551
557
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
552
558
|
/**
|
|
553
559
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
554
|
-
* Valid values:
|
|
560
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
555
561
|
*/
|
|
556
562
|
scrollAction? : 'hide'|'realign'|null
|
|
557
563
|
/**
|
|
@@ -1022,6 +1028,7 @@ export class BryntumHint extends React.Component<BryntumHintProps> {
|
|
|
1022
1028
|
];
|
|
1023
1029
|
|
|
1024
1030
|
static propertyNames = [
|
|
1031
|
+
'centered',
|
|
1025
1032
|
'parent',
|
|
1026
1033
|
'state',
|
|
1027
1034
|
'values'
|
package/src/BryntumLabel.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumLabelProps = {
|
|
|
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/Label#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -67,9 +69,10 @@ export type BryntumLabelProps = {
|
|
|
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/Label#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 BryntumLabelProps = {
|
|
|
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/Label#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 BryntumLabelProps = {
|
|
|
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/Label#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/Label#config-insertFirst)
|
|
212
219
|
*/
|
|
213
220
|
insertFirst? : HTMLElement|string
|
|
214
221
|
/**
|
|
@@ -346,7 +353,7 @@ export type BryntumLabelProps = {
|
|
|
346
353
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
347
354
|
/**
|
|
348
355
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
349
|
-
* Valid values:
|
|
356
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
350
357
|
*/
|
|
351
358
|
scrollAction? : 'hide'|'realign'|null
|
|
352
359
|
/**
|
|
@@ -544,7 +551,6 @@ export class BryntumLabel extends React.Component<BryntumLabelProps> {
|
|
|
544
551
|
'ariaDescription',
|
|
545
552
|
'ariaLabel',
|
|
546
553
|
'bubbleEvents',
|
|
547
|
-
'centered',
|
|
548
554
|
'color',
|
|
549
555
|
'config',
|
|
550
556
|
'constrainTo',
|
|
@@ -589,6 +595,7 @@ export class BryntumLabel extends React.Component<BryntumLabelProps> {
|
|
|
589
595
|
'appendTo',
|
|
590
596
|
'callOnFunctions',
|
|
591
597
|
'catchEventHandlerExceptions',
|
|
598
|
+
'centered',
|
|
592
599
|
'cls',
|
|
593
600
|
'column',
|
|
594
601
|
'content',
|