@bryntum/core-react-thin 7.3.2 → 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 +1 -1
- 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 +6 -5
- package/src/BryntumButton.tsx +6 -5
- package/src/BryntumButtonGroup.tsx +7 -6
- package/src/BryntumChatPanel.tsx +7 -6
- package/src/BryntumCheckbox.tsx +6 -5
- package/src/BryntumCheckboxGroup.tsx +7 -6
- package/src/BryntumChipView.tsx +6 -5
- package/src/BryntumCodeEditor.tsx +7 -6
- package/src/BryntumColorField.tsx +6 -5
- package/src/BryntumCombo.tsx +6 -5
- package/src/BryntumContainer.tsx +7 -6
- package/src/BryntumDateField.tsx +6 -5
- package/src/BryntumDatePicker.tsx +7 -6
- package/src/BryntumDateRangeField.tsx +6 -5
- package/src/BryntumDateTimeField.tsx +6 -5
- package/src/BryntumDemoCodeEditor.tsx +7 -6
- package/src/BryntumDisplayField.tsx +6 -5
- package/src/BryntumDurationField.tsx +6 -5
- package/src/BryntumEditor.tsx +7 -6
- package/src/BryntumFieldFilterPicker.tsx +7 -6
- package/src/BryntumFieldFilterPickerGroup.tsx +7 -6
- package/src/BryntumFieldSet.tsx +7 -6
- package/src/BryntumFileField.tsx +6 -5
- package/src/BryntumFilePicker.tsx +7 -6
- package/src/BryntumFilterField.tsx +6 -5
- package/src/BryntumHint.tsx +3 -2
- package/src/BryntumLabel.tsx +6 -5
- package/src/BryntumList.tsx +6 -5
- package/src/BryntumMenu.tsx +6 -5
- package/src/BryntumMonthPicker.tsx +7 -6
- package/src/BryntumNumberField.tsx +6 -5
- package/src/BryntumPagingToolbar.tsx +7 -6
- package/src/BryntumPanel.tsx +7 -6
- package/src/BryntumPasswordField.tsx +6 -5
- package/src/BryntumProgressBar.tsx +6 -5
- package/src/BryntumRadio.tsx +6 -5
- package/src/BryntumRadioGroup.tsx +7 -6
- package/src/BryntumSlideToggle.tsx +6 -5
- package/src/BryntumSlider.tsx +6 -5
- package/src/BryntumSplitter.tsx +6 -5
- package/src/BryntumTabPanel.tsx +7 -6
- package/src/BryntumTextAreaField.tsx +6 -5
- package/src/BryntumTextAreaPickerField.tsx +6 -5
- package/src/BryntumTextField.tsx +6 -5
- package/src/BryntumTimeField.tsx +6 -5
- package/src/BryntumTimePicker.tsx +7 -6
- package/src/BryntumToolbar.tsx +7 -6
- package/src/BryntumWidget.tsx +6 -5
- package/src/BryntumYearPicker.tsx +7 -6
- package/src/WrapperHelper.tsx +55 -17
|
@@ -91,9 +91,10 @@ export type BryntumDurationFieldProps = {
|
|
|
91
91
|
catchEventHandlerExceptions? : boolean
|
|
92
92
|
/**
|
|
93
93
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
94
|
-
*
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-centered)
|
|
95
|
+
* @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.
|
|
95
96
|
*/
|
|
96
|
-
centered? : boolean
|
|
97
|
+
centered? : boolean|object
|
|
97
98
|
/**
|
|
98
99
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
99
100
|
* 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)
|
|
@@ -194,7 +195,7 @@ export type BryntumDurationFieldProps = {
|
|
|
194
195
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
195
196
|
/**
|
|
196
197
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
197
|
-
* 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`
|
|
198
199
|
* property which controls when a drag should start.
|
|
199
200
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-draggable)
|
|
200
201
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -528,7 +529,7 @@ export type BryntumDurationFieldProps = {
|
|
|
528
529
|
rtl? : boolean
|
|
529
530
|
/**
|
|
530
531
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
531
|
-
* Valid values:
|
|
532
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
532
533
|
*/
|
|
533
534
|
scrollAction? : 'hide'|'realign'|null
|
|
534
535
|
/**
|
|
@@ -822,7 +823,6 @@ export class BryntumDurationField extends React.Component<BryntumDurationFieldPr
|
|
|
822
823
|
'autoComplete',
|
|
823
824
|
'autoSelect',
|
|
824
825
|
'bubbleEvents',
|
|
825
|
-
'centered',
|
|
826
826
|
'checkValidity',
|
|
827
827
|
'clearable',
|
|
828
828
|
'color',
|
|
@@ -896,6 +896,7 @@ export class BryntumDurationField extends React.Component<BryntumDurationFieldPr
|
|
|
896
896
|
'badge',
|
|
897
897
|
'callOnFunctions',
|
|
898
898
|
'catchEventHandlerExceptions',
|
|
899
|
+
'centered',
|
|
899
900
|
'cls',
|
|
900
901
|
'column',
|
|
901
902
|
'dataset',
|
package/src/BryntumEditor.tsx
CHANGED
|
@@ -91,9 +91,10 @@ export type BryntumEditorProps = {
|
|
|
91
91
|
catchEventHandlerExceptions? : boolean
|
|
92
92
|
/**
|
|
93
93
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
94
|
-
*
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-centered)
|
|
95
|
+
* @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.
|
|
95
96
|
*/
|
|
96
|
-
centered? : boolean
|
|
97
|
+
centered? : boolean|object
|
|
97
98
|
/**
|
|
98
99
|
* Custom CSS classes to add to element.
|
|
99
100
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -188,7 +189,7 @@ export type BryntumEditorProps = {
|
|
|
188
189
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
189
190
|
/**
|
|
190
191
|
* *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
|
|
192
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
192
193
|
* property which controls when a drag should start.
|
|
193
194
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-draggable)
|
|
194
195
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -316,7 +317,7 @@ export type BryntumEditorProps = {
|
|
|
316
317
|
*/
|
|
317
318
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
318
319
|
/**
|
|
319
|
-
* Sets `labelWidth
|
|
320
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
320
321
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-labelWidth)
|
|
321
322
|
*/
|
|
322
323
|
labelWidth? : number|null
|
|
@@ -494,7 +495,7 @@ export type BryntumEditorProps = {
|
|
|
494
495
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
495
496
|
/**
|
|
496
497
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
497
|
-
* Valid values:
|
|
498
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
498
499
|
*/
|
|
499
500
|
scrollAction? : 'hide'|'realign'|null
|
|
500
501
|
/**
|
|
@@ -799,7 +800,6 @@ export class BryntumEditor extends React.Component<BryntumEditorProps> {
|
|
|
799
800
|
'border',
|
|
800
801
|
'bubbleEvents',
|
|
801
802
|
'cancelKey',
|
|
802
|
-
'centered',
|
|
803
803
|
'color',
|
|
804
804
|
'completeKey',
|
|
805
805
|
'completeOnChange',
|
|
@@ -859,6 +859,7 @@ export class BryntumEditor extends React.Component<BryntumEditorProps> {
|
|
|
859
859
|
'appendTo',
|
|
860
860
|
'callOnFunctions',
|
|
861
861
|
'catchEventHandlerExceptions',
|
|
862
|
+
'centered',
|
|
862
863
|
'cls',
|
|
863
864
|
'column',
|
|
864
865
|
'content',
|
|
@@ -77,9 +77,10 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
77
77
|
catchEventHandlerExceptions? : boolean
|
|
78
78
|
/**
|
|
79
79
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
80
|
-
*
|
|
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.
|
|
81
82
|
*/
|
|
82
|
-
centered? : boolean
|
|
83
|
+
centered? : boolean|object
|
|
83
84
|
/**
|
|
84
85
|
* Custom CSS classes to add to element.
|
|
85
86
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -168,7 +169,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
168
169
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
169
170
|
/**
|
|
170
171
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
171
|
-
* 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`
|
|
172
173
|
* property which controls when a drag should start.
|
|
173
174
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-draggable)
|
|
174
175
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -297,7 +298,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
297
298
|
*/
|
|
298
299
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
299
300
|
/**
|
|
300
|
-
* Sets `labelWidth
|
|
301
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
301
302
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-labelWidth)
|
|
302
303
|
*/
|
|
303
304
|
labelWidth? : number|null
|
|
@@ -479,7 +480,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
479
480
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
480
481
|
/**
|
|
481
482
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
482
|
-
* Valid values:
|
|
483
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
483
484
|
*/
|
|
484
485
|
scrollAction? : 'hide'|'realign'|null
|
|
485
486
|
/**
|
|
@@ -734,7 +735,6 @@ export class BryntumFieldFilterPicker extends React.Component<BryntumFieldFilter
|
|
|
734
735
|
'autoUpdateRecord',
|
|
735
736
|
'border',
|
|
736
737
|
'bubbleEvents',
|
|
737
|
-
'centered',
|
|
738
738
|
'color',
|
|
739
739
|
'config',
|
|
740
740
|
'constrainTo',
|
|
@@ -799,6 +799,7 @@ export class BryntumFieldFilterPicker extends React.Component<BryntumFieldFilter
|
|
|
799
799
|
'appendTo',
|
|
800
800
|
'callOnFunctions',
|
|
801
801
|
'catchEventHandlerExceptions',
|
|
802
|
+
'centered',
|
|
802
803
|
'cls',
|
|
803
804
|
'column',
|
|
804
805
|
'content',
|
|
@@ -103,9 +103,10 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
103
103
|
catchEventHandlerExceptions? : boolean
|
|
104
104
|
/**
|
|
105
105
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
106
|
-
*
|
|
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.
|
|
107
108
|
*/
|
|
108
|
-
centered? : boolean
|
|
109
|
+
centered? : boolean|object
|
|
109
110
|
/**
|
|
110
111
|
* Custom CSS classes to add to element.
|
|
111
112
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -194,7 +195,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
194
195
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
195
196
|
/**
|
|
196
197
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
197
|
-
* 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`
|
|
198
199
|
* property which controls when a drag should start.
|
|
199
200
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-draggable)
|
|
200
201
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -325,7 +326,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
325
326
|
*/
|
|
326
327
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
327
328
|
/**
|
|
328
|
-
* Sets `labelWidth
|
|
329
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
329
330
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-labelWidth)
|
|
330
331
|
*/
|
|
331
332
|
labelWidth? : number|null
|
|
@@ -502,7 +503,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
502
503
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
503
504
|
/**
|
|
504
505
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
505
|
-
* Valid values:
|
|
506
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
506
507
|
*/
|
|
507
508
|
scrollAction? : 'hide'|'realign'|null
|
|
508
509
|
/**
|
|
@@ -766,7 +767,6 @@ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldF
|
|
|
766
767
|
'bubbleEvents',
|
|
767
768
|
'canDeleteFilter',
|
|
768
769
|
'canManageFilter',
|
|
769
|
-
'centered',
|
|
770
770
|
'color',
|
|
771
771
|
'config',
|
|
772
772
|
'constrainTo',
|
|
@@ -828,6 +828,7 @@ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldF
|
|
|
828
828
|
'appendTo',
|
|
829
829
|
'callOnFunctions',
|
|
830
830
|
'catchEventHandlerExceptions',
|
|
831
|
+
'centered',
|
|
831
832
|
'cls',
|
|
832
833
|
'column',
|
|
833
834
|
'content',
|
package/src/BryntumFieldSet.tsx
CHANGED
|
@@ -88,9 +88,10 @@ export type BryntumFieldSetProps = {
|
|
|
88
88
|
catchEventHandlerExceptions? : boolean
|
|
89
89
|
/**
|
|
90
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
91
|
-
*
|
|
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.
|
|
92
93
|
*/
|
|
93
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
94
95
|
/**
|
|
95
96
|
* Custom CSS classes to add to element.
|
|
96
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -186,7 +187,7 @@ export type BryntumFieldSetProps = {
|
|
|
186
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
187
188
|
/**
|
|
188
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
189
|
-
* 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`
|
|
190
191
|
* property which controls when a drag should start.
|
|
191
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldSet#config-draggable)
|
|
192
193
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -340,7 +341,7 @@ export type BryntumFieldSetProps = {
|
|
|
340
341
|
*/
|
|
341
342
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
342
343
|
/**
|
|
343
|
-
* Sets `labelWidth
|
|
344
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
344
345
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldSet#config-labelWidth)
|
|
345
346
|
*/
|
|
346
347
|
labelWidth? : number|null
|
|
@@ -506,7 +507,7 @@ export type BryntumFieldSetProps = {
|
|
|
506
507
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
507
508
|
/**
|
|
508
509
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
509
|
-
* Valid values:
|
|
510
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
510
511
|
*/
|
|
511
512
|
scrollAction? : 'hide'|'realign'|null
|
|
512
513
|
/**
|
|
@@ -820,7 +821,6 @@ export class BryntumFieldSet extends React.Component<BryntumFieldSetProps> {
|
|
|
820
821
|
'bodyCls',
|
|
821
822
|
'border',
|
|
822
823
|
'bubbleEvents',
|
|
823
|
-
'centered',
|
|
824
824
|
'collapsible',
|
|
825
825
|
'color',
|
|
826
826
|
'config',
|
|
@@ -885,6 +885,7 @@ export class BryntumFieldSet extends React.Component<BryntumFieldSetProps> {
|
|
|
885
885
|
'appendTo',
|
|
886
886
|
'callOnFunctions',
|
|
887
887
|
'catchEventHandlerExceptions',
|
|
888
|
+
'centered',
|
|
888
889
|
'cls',
|
|
889
890
|
'collapsed',
|
|
890
891
|
'column',
|
package/src/BryntumFileField.tsx
CHANGED
|
@@ -87,9 +87,10 @@ export type BryntumFileFieldProps = {
|
|
|
87
87
|
catchEventHandlerExceptions? : boolean
|
|
88
88
|
/**
|
|
89
89
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
90
|
-
*
|
|
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.
|
|
91
92
|
*/
|
|
92
|
-
centered? : boolean
|
|
93
|
+
centered? : boolean|object
|
|
93
94
|
/**
|
|
94
95
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
95
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)
|
|
@@ -186,7 +187,7 @@ export type BryntumFileFieldProps = {
|
|
|
186
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
187
188
|
/**
|
|
188
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
189
|
-
* 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`
|
|
190
191
|
* property which controls when a drag should start.
|
|
191
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-draggable)
|
|
192
193
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -500,7 +501,7 @@ export type BryntumFileFieldProps = {
|
|
|
500
501
|
rtl? : boolean
|
|
501
502
|
/**
|
|
502
503
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
503
|
-
* Valid values:
|
|
504
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
504
505
|
*/
|
|
505
506
|
scrollAction? : 'hide'|'realign'|null
|
|
506
507
|
/**
|
|
@@ -778,7 +779,6 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
778
779
|
'autoComplete',
|
|
779
780
|
'autoSelect',
|
|
780
781
|
'bubbleEvents',
|
|
781
|
-
'centered',
|
|
782
782
|
'checkValidity',
|
|
783
783
|
'clearable',
|
|
784
784
|
'color',
|
|
@@ -847,6 +847,7 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
847
847
|
'badge',
|
|
848
848
|
'callOnFunctions',
|
|
849
849
|
'catchEventHandlerExceptions',
|
|
850
|
+
'centered',
|
|
850
851
|
'cls',
|
|
851
852
|
'column',
|
|
852
853
|
'dataset',
|
|
@@ -81,9 +81,10 @@ export type BryntumFilePickerProps = {
|
|
|
81
81
|
catchEventHandlerExceptions? : boolean
|
|
82
82
|
/**
|
|
83
83
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
84
|
-
*
|
|
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.
|
|
85
86
|
*/
|
|
86
|
-
centered? : boolean
|
|
87
|
+
centered? : boolean|object
|
|
87
88
|
/**
|
|
88
89
|
* Custom CSS classes to add to element.
|
|
89
90
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -169,7 +170,7 @@ export type BryntumFilePickerProps = {
|
|
|
169
170
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
170
171
|
/**
|
|
171
172
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
172
|
-
* 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`
|
|
173
174
|
* property which controls when a drag should start.
|
|
174
175
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-draggable)
|
|
175
176
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -281,7 +282,7 @@ export type BryntumFilePickerProps = {
|
|
|
281
282
|
*/
|
|
282
283
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
283
284
|
/**
|
|
284
|
-
* Sets `labelWidth
|
|
285
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
285
286
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-labelWidth)
|
|
286
287
|
*/
|
|
287
288
|
labelWidth? : number|null
|
|
@@ -447,7 +448,7 @@ export type BryntumFilePickerProps = {
|
|
|
447
448
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
448
449
|
/**
|
|
449
450
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
450
|
-
* Valid values:
|
|
451
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
451
452
|
*/
|
|
452
453
|
scrollAction? : 'hide'|'realign'|null
|
|
453
454
|
/**
|
|
@@ -690,7 +691,6 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
|
|
|
690
691
|
'border',
|
|
691
692
|
'bubbleEvents',
|
|
692
693
|
'buttonConfig',
|
|
693
|
-
'centered',
|
|
694
694
|
'color',
|
|
695
695
|
'config',
|
|
696
696
|
'constrainTo',
|
|
@@ -744,6 +744,7 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
|
|
|
744
744
|
'appendTo',
|
|
745
745
|
'callOnFunctions',
|
|
746
746
|
'catchEventHandlerExceptions',
|
|
747
|
+
'centered',
|
|
747
748
|
'cls',
|
|
748
749
|
'column',
|
|
749
750
|
'content',
|
|
@@ -82,9 +82,10 @@ export type BryntumFilterFieldProps = {
|
|
|
82
82
|
catchEventHandlerExceptions? : boolean
|
|
83
83
|
/**
|
|
84
84
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
85
|
-
*
|
|
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.
|
|
86
87
|
*/
|
|
87
|
-
centered? : boolean
|
|
88
|
+
centered? : boolean|object
|
|
88
89
|
/**
|
|
89
90
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
90
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)
|
|
@@ -181,7 +182,7 @@ export type BryntumFilterFieldProps = {
|
|
|
181
182
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
182
183
|
/**
|
|
183
184
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
184
|
-
* 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`
|
|
185
186
|
* property which controls when a drag should start.
|
|
186
187
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-draggable)
|
|
187
188
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -527,7 +528,7 @@ export type BryntumFilterFieldProps = {
|
|
|
527
528
|
rtl? : boolean
|
|
528
529
|
/**
|
|
529
530
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
530
|
-
* Valid values:
|
|
531
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
531
532
|
*/
|
|
532
533
|
scrollAction? : 'hide'|'realign'|null
|
|
533
534
|
/**
|
|
@@ -808,7 +809,6 @@ export class BryntumFilterField extends React.Component<BryntumFilterFieldProps>
|
|
|
808
809
|
'autoComplete',
|
|
809
810
|
'autoSelect',
|
|
810
811
|
'bubbleEvents',
|
|
811
|
-
'centered',
|
|
812
812
|
'checkValidity',
|
|
813
813
|
'clearable',
|
|
814
814
|
'color',
|
|
@@ -883,6 +883,7 @@ export class BryntumFilterField extends React.Component<BryntumFilterFieldProps>
|
|
|
883
883
|
'badge',
|
|
884
884
|
'callOnFunctions',
|
|
885
885
|
'catchEventHandlerExceptions',
|
|
886
|
+
'centered',
|
|
886
887
|
'cls',
|
|
887
888
|
'column',
|
|
888
889
|
'dataset',
|
package/src/BryntumHint.tsx
CHANGED
|
@@ -342,7 +342,7 @@ export type BryntumHintProps = {
|
|
|
342
342
|
*/
|
|
343
343
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
344
344
|
/**
|
|
345
|
-
* Sets `labelWidth
|
|
345
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
346
346
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Hint#config-labelWidth)
|
|
347
347
|
*/
|
|
348
348
|
labelWidth? : number|null
|
|
@@ -557,7 +557,7 @@ export type BryntumHintProps = {
|
|
|
557
557
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
558
558
|
/**
|
|
559
559
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
560
|
-
* Valid values:
|
|
560
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
561
561
|
*/
|
|
562
562
|
scrollAction? : 'hide'|'realign'|null
|
|
563
563
|
/**
|
|
@@ -1028,6 +1028,7 @@ export class BryntumHint extends React.Component<BryntumHintProps> {
|
|
|
1028
1028
|
];
|
|
1029
1029
|
|
|
1030
1030
|
static propertyNames = [
|
|
1031
|
+
'centered',
|
|
1031
1032
|
'parent',
|
|
1032
1033
|
'state',
|
|
1033
1034
|
'values'
|
package/src/BryntumLabel.tsx
CHANGED
|
@@ -69,9 +69,10 @@ export type BryntumLabelProps = {
|
|
|
69
69
|
catchEventHandlerExceptions? : boolean
|
|
70
70
|
/**
|
|
71
71
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
72
|
-
*
|
|
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.
|
|
73
74
|
*/
|
|
74
|
-
centered? : boolean
|
|
75
|
+
centered? : boolean|object
|
|
75
76
|
/**
|
|
76
77
|
* Custom CSS classes to add to element.
|
|
77
78
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -145,7 +146,7 @@ export type BryntumLabelProps = {
|
|
|
145
146
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
146
147
|
/**
|
|
147
148
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
148
|
-
* 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`
|
|
149
150
|
* property which controls when a drag should start.
|
|
150
151
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Label#config-draggable)
|
|
151
152
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -352,7 +353,7 @@ export type BryntumLabelProps = {
|
|
|
352
353
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
353
354
|
/**
|
|
354
355
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
355
|
-
* Valid values:
|
|
356
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
356
357
|
*/
|
|
357
358
|
scrollAction? : 'hide'|'realign'|null
|
|
358
359
|
/**
|
|
@@ -550,7 +551,6 @@ export class BryntumLabel extends React.Component<BryntumLabelProps> {
|
|
|
550
551
|
'ariaDescription',
|
|
551
552
|
'ariaLabel',
|
|
552
553
|
'bubbleEvents',
|
|
553
|
-
'centered',
|
|
554
554
|
'color',
|
|
555
555
|
'config',
|
|
556
556
|
'constrainTo',
|
|
@@ -595,6 +595,7 @@ export class BryntumLabel extends React.Component<BryntumLabelProps> {
|
|
|
595
595
|
'appendTo',
|
|
596
596
|
'callOnFunctions',
|
|
597
597
|
'catchEventHandlerExceptions',
|
|
598
|
+
'centered',
|
|
598
599
|
'cls',
|
|
599
600
|
'column',
|
|
600
601
|
'content',
|
package/src/BryntumList.tsx
CHANGED
|
@@ -79,9 +79,10 @@ export type BryntumListProps = {
|
|
|
79
79
|
catchEventHandlerExceptions? : boolean
|
|
80
80
|
/**
|
|
81
81
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
82
|
-
*
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#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.
|
|
83
84
|
*/
|
|
84
|
-
centered? : boolean
|
|
85
|
+
centered? : boolean|object
|
|
85
86
|
/**
|
|
86
87
|
* Configure as `true` to clear selection when clicking on empty space inside the List´s element.
|
|
87
88
|
*/
|
|
@@ -167,7 +168,7 @@ export type BryntumListProps = {
|
|
|
167
168
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
168
169
|
/**
|
|
169
170
|
* *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
|
|
171
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
171
172
|
* property which controls when a drag should start.
|
|
172
173
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-draggable)
|
|
173
174
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -423,7 +424,7 @@ export type BryntumListProps = {
|
|
|
423
424
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
424
425
|
/**
|
|
425
426
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
426
|
-
* Valid values:
|
|
427
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
427
428
|
*/
|
|
428
429
|
scrollAction? : 'hide'|'realign'|null
|
|
429
430
|
/**
|
|
@@ -696,7 +697,6 @@ export class BryntumList extends React.Component<BryntumListProps> {
|
|
|
696
697
|
'ariaDescription',
|
|
697
698
|
'ariaLabel',
|
|
698
699
|
'bubbleEvents',
|
|
699
|
-
'centered',
|
|
700
700
|
'color',
|
|
701
701
|
'config',
|
|
702
702
|
'constrainTo',
|
|
@@ -750,6 +750,7 @@ export class BryntumList extends React.Component<BryntumListProps> {
|
|
|
750
750
|
'appendTo',
|
|
751
751
|
'callOnFunctions',
|
|
752
752
|
'catchEventHandlerExceptions',
|
|
753
|
+
'centered',
|
|
753
754
|
'clearSelectionOnEmptySpaceClick',
|
|
754
755
|
'cls',
|
|
755
756
|
'collapsibleGroups',
|
package/src/BryntumMenu.tsx
CHANGED
|
@@ -99,9 +99,10 @@ export type BryntumMenuProps = {
|
|
|
99
99
|
catchEventHandlerExceptions? : boolean
|
|
100
100
|
/**
|
|
101
101
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
102
|
-
*
|
|
102
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#config-centered)
|
|
103
|
+
* @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.
|
|
103
104
|
*/
|
|
104
|
-
centered? : boolean
|
|
105
|
+
centered? : boolean|object
|
|
105
106
|
/**
|
|
106
107
|
* Show a tool in the header to close this Popup.
|
|
107
108
|
* The tool is available in the [tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools) object
|
|
@@ -364,7 +365,7 @@ export type BryntumMenuProps = {
|
|
|
364
365
|
*/
|
|
365
366
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
366
367
|
/**
|
|
367
|
-
* Sets `labelWidth
|
|
368
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
368
369
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#config-labelWidth)
|
|
369
370
|
*/
|
|
370
371
|
labelWidth? : number|null
|
|
@@ -557,7 +558,7 @@ export type BryntumMenuProps = {
|
|
|
557
558
|
rtl? : boolean
|
|
558
559
|
/**
|
|
559
560
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
560
|
-
* Valid values:
|
|
561
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
561
562
|
*/
|
|
562
563
|
scrollAction? : 'hide'|'realign'|null
|
|
563
564
|
/**
|
|
@@ -901,7 +902,6 @@ export class BryntumMenu extends React.Component<BryntumMenuProps> {
|
|
|
901
902
|
'bodyCls',
|
|
902
903
|
'border',
|
|
903
904
|
'bubbleEvents',
|
|
904
|
-
'centered',
|
|
905
905
|
'closable',
|
|
906
906
|
'closeAction',
|
|
907
907
|
'closeOnEscape',
|
|
@@ -974,6 +974,7 @@ export class BryntumMenu extends React.Component<BryntumMenuProps> {
|
|
|
974
974
|
'appendTo',
|
|
975
975
|
'callOnFunctions',
|
|
976
976
|
'catchEventHandlerExceptions',
|
|
977
|
+
'centered',
|
|
977
978
|
'cls',
|
|
978
979
|
'collapsed',
|
|
979
980
|
'column',
|