@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
|
@@ -88,9 +88,10 @@ export type BryntumCheckboxGroupProps = {
|
|
|
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/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.
|
|
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 BryntumCheckboxGroupProps = {
|
|
|
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/CheckboxGroup#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 BryntumCheckboxGroupProps = {
|
|
|
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/CheckboxGroup#config-labelWidth)
|
|
345
346
|
*/
|
|
346
347
|
labelWidth? : number|null
|
|
@@ -533,7 +534,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
533
534
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
534
535
|
/**
|
|
535
536
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
536
|
-
* Valid values:
|
|
537
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
537
538
|
*/
|
|
538
539
|
scrollAction? : 'hide'|'realign'|null
|
|
539
540
|
/**
|
|
@@ -867,7 +868,6 @@ export class BryntumCheckboxGroup extends React.Component<BryntumCheckboxGroupPr
|
|
|
867
868
|
'bodyCls',
|
|
868
869
|
'border',
|
|
869
870
|
'bubbleEvents',
|
|
870
|
-
'centered',
|
|
871
871
|
'collapsible',
|
|
872
872
|
'color',
|
|
873
873
|
'config',
|
|
@@ -934,6 +934,7 @@ export class BryntumCheckboxGroup extends React.Component<BryntumCheckboxGroupPr
|
|
|
934
934
|
'appendTo',
|
|
935
935
|
'callOnFunctions',
|
|
936
936
|
'catchEventHandlerExceptions',
|
|
937
|
+
'centered',
|
|
937
938
|
'cls',
|
|
938
939
|
'collapsed',
|
|
939
940
|
'column',
|
package/src/BryntumChipView.tsx
CHANGED
|
@@ -79,9 +79,10 @@ export type BryntumChipViewProps = {
|
|
|
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/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.
|
|
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
|
*/
|
|
@@ -181,7 +182,7 @@ export type BryntumChipViewProps = {
|
|
|
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/ChipView#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
|
|
@@ -444,7 +445,7 @@ export type BryntumChipViewProps = {
|
|
|
444
445
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
445
446
|
/**
|
|
446
447
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
447
|
-
* Valid values:
|
|
448
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
448
449
|
*/
|
|
449
450
|
scrollAction? : 'hide'|'realign'|null
|
|
450
451
|
/**
|
|
@@ -717,7 +718,6 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
|
|
|
717
718
|
'ariaDescription',
|
|
718
719
|
'ariaLabel',
|
|
719
720
|
'bubbleEvents',
|
|
720
|
-
'centered',
|
|
721
721
|
'closable',
|
|
722
722
|
'closeHandler',
|
|
723
723
|
'color',
|
|
@@ -774,6 +774,7 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
|
|
|
774
774
|
'appendTo',
|
|
775
775
|
'callOnFunctions',
|
|
776
776
|
'catchEventHandlerExceptions',
|
|
777
|
+
'centered',
|
|
777
778
|
'clearSelectionOnEmptySpaceClick',
|
|
778
779
|
'cls',
|
|
779
780
|
'collapsibleGroups',
|
|
@@ -88,9 +88,10 @@ export type BryntumCodeEditorProps = {
|
|
|
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/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.
|
|
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
|
|
@@ -191,7 +192,7 @@ export type BryntumCodeEditorProps = {
|
|
|
191
192
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
192
193
|
/**
|
|
193
194
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
194
|
-
* 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`
|
|
195
196
|
* property which controls when a drag should start.
|
|
196
197
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-draggable)
|
|
197
198
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -335,7 +336,7 @@ export type BryntumCodeEditorProps = {
|
|
|
335
336
|
*/
|
|
336
337
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
337
338
|
/**
|
|
338
|
-
* Sets `labelWidth
|
|
339
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
339
340
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-labelWidth)
|
|
340
341
|
*/
|
|
341
342
|
labelWidth? : number|null
|
|
@@ -504,7 +505,7 @@ export type BryntumCodeEditorProps = {
|
|
|
504
505
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
505
506
|
/**
|
|
506
507
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
507
|
-
* Valid values:
|
|
508
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
508
509
|
*/
|
|
509
510
|
scrollAction? : 'hide'|'realign'|null
|
|
510
511
|
/**
|
|
@@ -830,7 +831,6 @@ export class BryntumCodeEditor extends React.Component<BryntumCodeEditorProps> {
|
|
|
830
831
|
'bodyCls',
|
|
831
832
|
'border',
|
|
832
833
|
'bubbleEvents',
|
|
833
|
-
'centered',
|
|
834
834
|
'codePath',
|
|
835
835
|
'collapsible',
|
|
836
836
|
'color',
|
|
@@ -896,6 +896,7 @@ export class BryntumCodeEditor extends React.Component<BryntumCodeEditorProps> {
|
|
|
896
896
|
'appendTo',
|
|
897
897
|
'callOnFunctions',
|
|
898
898
|
'catchEventHandlerExceptions',
|
|
899
|
+
'centered',
|
|
899
900
|
'cls',
|
|
900
901
|
'collapsed',
|
|
901
902
|
'column',
|
|
@@ -90,9 +90,10 @@ export type BryntumColorFieldProps = {
|
|
|
90
90
|
catchEventHandlerExceptions? : boolean
|
|
91
91
|
/**
|
|
92
92
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
93
|
-
*
|
|
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.
|
|
94
95
|
*/
|
|
95
|
-
centered? : boolean
|
|
96
|
+
centered? : boolean|object
|
|
96
97
|
/**
|
|
97
98
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
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)
|
|
@@ -190,7 +191,7 @@ export type BryntumColorFieldProps = {
|
|
|
190
191
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
191
192
|
/**
|
|
192
193
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
193
|
-
* 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`
|
|
194
195
|
* property which controls when a drag should start.
|
|
195
196
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-draggable)
|
|
196
197
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -508,7 +509,7 @@ export type BryntumColorFieldProps = {
|
|
|
508
509
|
rtl? : boolean
|
|
509
510
|
/**
|
|
510
511
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
511
|
-
* Valid values:
|
|
512
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
512
513
|
*/
|
|
513
514
|
scrollAction? : 'hide'|'realign'|null
|
|
514
515
|
/**
|
|
@@ -786,7 +787,6 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
|
|
|
786
787
|
'autoExpand',
|
|
787
788
|
'autoSelect',
|
|
788
789
|
'bubbleEvents',
|
|
789
|
-
'centered',
|
|
790
790
|
'checkValidity',
|
|
791
791
|
'clearable',
|
|
792
792
|
'config',
|
|
@@ -857,6 +857,7 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
|
|
|
857
857
|
'badge',
|
|
858
858
|
'callOnFunctions',
|
|
859
859
|
'catchEventHandlerExceptions',
|
|
860
|
+
'centered',
|
|
860
861
|
'cls',
|
|
861
862
|
'colors',
|
|
862
863
|
'column',
|
package/src/BryntumCombo.tsx
CHANGED
|
@@ -95,9 +95,10 @@ export type BryntumComboProps = {
|
|
|
95
95
|
catchEventHandlerExceptions? : boolean
|
|
96
96
|
/**
|
|
97
97
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
98
|
-
*
|
|
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.
|
|
99
100
|
*/
|
|
100
|
-
centered? : boolean
|
|
101
|
+
centered? : boolean|object
|
|
101
102
|
/**
|
|
102
103
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
103
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)
|
|
@@ -233,7 +234,7 @@ export type BryntumComboProps = {
|
|
|
233
234
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
234
235
|
/**
|
|
235
236
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
236
|
-
* 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`
|
|
237
238
|
* property which controls when a drag should start.
|
|
238
239
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-draggable)
|
|
239
240
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -668,7 +669,7 @@ export type BryntumComboProps = {
|
|
|
668
669
|
rtl? : boolean
|
|
669
670
|
/**
|
|
670
671
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
671
|
-
* Valid values:
|
|
672
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
672
673
|
*/
|
|
673
674
|
scrollAction? : 'hide'|'realign'|null
|
|
674
675
|
/**
|
|
@@ -974,7 +975,6 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
|
|
|
974
975
|
'bubbleEvents',
|
|
975
976
|
'cacheLastResult',
|
|
976
977
|
'caseSensitive',
|
|
977
|
-
'centered',
|
|
978
978
|
'checkValidity',
|
|
979
979
|
'chipView',
|
|
980
980
|
'clearable',
|
|
@@ -1072,6 +1072,7 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
|
|
|
1072
1072
|
'badge',
|
|
1073
1073
|
'callOnFunctions',
|
|
1074
1074
|
'catchEventHandlerExceptions',
|
|
1075
|
+
'centered',
|
|
1075
1076
|
'cls',
|
|
1076
1077
|
'column',
|
|
1077
1078
|
'dataset',
|
package/src/BryntumContainer.tsx
CHANGED
|
@@ -77,9 +77,10 @@ export type BryntumContainerProps = {
|
|
|
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/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.
|
|
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
|
|
@@ -165,7 +166,7 @@ export type BryntumContainerProps = {
|
|
|
165
166
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
166
167
|
/**
|
|
167
168
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
168
|
-
* 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`
|
|
169
170
|
* property which controls when a drag should start.
|
|
170
171
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-draggable)
|
|
171
172
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -273,7 +274,7 @@ export type BryntumContainerProps = {
|
|
|
273
274
|
*/
|
|
274
275
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
275
276
|
/**
|
|
276
|
-
* Sets `labelWidth
|
|
277
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
277
278
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-labelWidth)
|
|
278
279
|
*/
|
|
279
280
|
labelWidth? : number|null
|
|
@@ -439,7 +440,7 @@ export type BryntumContainerProps = {
|
|
|
439
440
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
440
441
|
/**
|
|
441
442
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
442
|
-
* Valid values:
|
|
443
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
443
444
|
*/
|
|
444
445
|
scrollAction? : 'hide'|'realign'|null
|
|
445
446
|
/**
|
|
@@ -667,7 +668,6 @@ export class BryntumContainer extends React.Component<BryntumContainerProps> {
|
|
|
667
668
|
'autoUpdateRecord',
|
|
668
669
|
'border',
|
|
669
670
|
'bubbleEvents',
|
|
670
|
-
'centered',
|
|
671
671
|
'color',
|
|
672
672
|
'config',
|
|
673
673
|
'constrainTo',
|
|
@@ -720,6 +720,7 @@ export class BryntumContainer extends React.Component<BryntumContainerProps> {
|
|
|
720
720
|
'appendTo',
|
|
721
721
|
'callOnFunctions',
|
|
722
722
|
'catchEventHandlerExceptions',
|
|
723
|
+
'centered',
|
|
723
724
|
'cls',
|
|
724
725
|
'column',
|
|
725
726
|
'content',
|
package/src/BryntumDateField.tsx
CHANGED
|
@@ -86,9 +86,10 @@ export type BryntumDateFieldProps = {
|
|
|
86
86
|
catchEventHandlerExceptions? : boolean
|
|
87
87
|
/**
|
|
88
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
89
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-centered)
|
|
90
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
90
91
|
*/
|
|
91
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
92
93
|
/**
|
|
93
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
95
|
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
@@ -185,7 +186,7 @@ export type BryntumDateFieldProps = {
|
|
|
185
186
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
186
187
|
/**
|
|
187
188
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
188
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
189
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
189
190
|
* property which controls when a drag should start.
|
|
190
191
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-draggable)
|
|
191
192
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -541,7 +542,7 @@ export type BryntumDateFieldProps = {
|
|
|
541
542
|
rtl? : boolean
|
|
542
543
|
/**
|
|
543
544
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
544
|
-
* Valid values:
|
|
545
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
545
546
|
*/
|
|
546
547
|
scrollAction? : 'hide'|'realign'|null
|
|
547
548
|
/**
|
|
@@ -847,7 +848,6 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
847
848
|
'autoExpand',
|
|
848
849
|
'autoSelect',
|
|
849
850
|
'bubbleEvents',
|
|
850
|
-
'centered',
|
|
851
851
|
'checkValidity',
|
|
852
852
|
'clearable',
|
|
853
853
|
'color',
|
|
@@ -924,6 +924,7 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
924
924
|
'badge',
|
|
925
925
|
'callOnFunctions',
|
|
926
926
|
'catchEventHandlerExceptions',
|
|
927
|
+
'centered',
|
|
927
928
|
'cls',
|
|
928
929
|
'column',
|
|
929
930
|
'dataset',
|
|
@@ -119,9 +119,10 @@ export type BryntumDatePickerProps = {
|
|
|
119
119
|
cellRenderer? : ((renderData: { cell: HTMLElement, innerCell: HTMLElement, cellPayload: HTMLElement, date: Date, day: number, rowIndex: number[], row: HTMLElement, source: CalendarPanel, cellIndex: number[], columnIndex: number[], visibleColumnIndex: number[] }) => string|DomConfig|void)|string
|
|
120
120
|
/**
|
|
121
121
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
122
|
-
*
|
|
122
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-centered)
|
|
123
|
+
* @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.
|
|
123
124
|
*/
|
|
124
|
-
centered? : boolean
|
|
125
|
+
centered? : boolean|object
|
|
125
126
|
/**
|
|
126
127
|
* Custom CSS classes to add to element.
|
|
127
128
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -251,7 +252,7 @@ export type BryntumDatePickerProps = {
|
|
|
251
252
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
252
253
|
/**
|
|
253
254
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
254
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
255
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
255
256
|
* property which controls when a drag should start.
|
|
256
257
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-draggable)
|
|
257
258
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -429,7 +430,7 @@ export type BryntumDatePickerProps = {
|
|
|
429
430
|
*/
|
|
430
431
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
431
432
|
/**
|
|
432
|
-
* Sets `labelWidth
|
|
433
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
433
434
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-labelWidth)
|
|
434
435
|
*/
|
|
435
436
|
labelWidth? : number|null
|
|
@@ -644,7 +645,7 @@ export type BryntumDatePickerProps = {
|
|
|
644
645
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
645
646
|
/**
|
|
646
647
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
647
|
-
* Valid values:
|
|
648
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
648
649
|
*/
|
|
649
650
|
scrollAction? : 'hide'|'realign'|null
|
|
650
651
|
/**
|
|
@@ -1057,7 +1058,6 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
|
|
|
1057
1058
|
'border',
|
|
1058
1059
|
'bubbleEvents',
|
|
1059
1060
|
'cellRenderer',
|
|
1060
|
-
'centered',
|
|
1061
1061
|
'collapsible',
|
|
1062
1062
|
'color',
|
|
1063
1063
|
'config',
|
|
@@ -1149,6 +1149,7 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
|
|
|
1149
1149
|
'appendTo',
|
|
1150
1150
|
'callOnFunctions',
|
|
1151
1151
|
'catchEventHandlerExceptions',
|
|
1152
|
+
'centered',
|
|
1152
1153
|
'cls',
|
|
1153
1154
|
'collapsed',
|
|
1154
1155
|
'column',
|
|
@@ -86,9 +86,10 @@ export type BryntumDateRangeFieldProps = {
|
|
|
86
86
|
catchEventHandlerExceptions? : boolean
|
|
87
87
|
/**
|
|
88
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
89
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-centered)
|
|
90
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
90
91
|
*/
|
|
91
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
92
93
|
/**
|
|
93
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
95
|
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
@@ -199,7 +200,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
199
200
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
200
201
|
/**
|
|
201
202
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
202
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
203
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
203
204
|
* property which controls when a drag should start.
|
|
204
205
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-draggable)
|
|
205
206
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -552,7 +553,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
552
553
|
rtl? : boolean
|
|
553
554
|
/**
|
|
554
555
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
555
|
-
* Valid values:
|
|
556
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
556
557
|
*/
|
|
557
558
|
scrollAction? : 'hide'|'realign'|null
|
|
558
559
|
/**
|
|
@@ -835,7 +836,6 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
835
836
|
'autoExpand',
|
|
836
837
|
'autoSelect',
|
|
837
838
|
'bubbleEvents',
|
|
838
|
-
'centered',
|
|
839
839
|
'checkValidity',
|
|
840
840
|
'clearable',
|
|
841
841
|
'color',
|
|
@@ -911,6 +911,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
911
911
|
'badge',
|
|
912
912
|
'callOnFunctions',
|
|
913
913
|
'catchEventHandlerExceptions',
|
|
914
|
+
'centered',
|
|
914
915
|
'cls',
|
|
915
916
|
'column',
|
|
916
917
|
'confirmable',
|
|
@@ -77,9 +77,10 @@ export type BryntumDateTimeFieldProps = {
|
|
|
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/DateTimeField#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
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
85
86
|
* 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)
|
|
@@ -180,7 +181,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
180
181
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
181
182
|
/**
|
|
182
183
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
183
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
184
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
184
185
|
* property which controls when a drag should start.
|
|
185
186
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-draggable)
|
|
186
187
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -475,7 +476,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
475
476
|
rtl? : boolean
|
|
476
477
|
/**
|
|
477
478
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
478
|
-
* Valid values:
|
|
479
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
479
480
|
*/
|
|
480
481
|
scrollAction? : 'hide'|'realign'|null
|
|
481
482
|
/**
|
|
@@ -742,7 +743,6 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
|
|
|
742
743
|
'ariaLabel',
|
|
743
744
|
'autoSelect',
|
|
744
745
|
'bubbleEvents',
|
|
745
|
-
'centered',
|
|
746
746
|
'checkValidity',
|
|
747
747
|
'clearable',
|
|
748
748
|
'color',
|
|
@@ -806,6 +806,7 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
|
|
|
806
806
|
'badge',
|
|
807
807
|
'callOnFunctions',
|
|
808
808
|
'catchEventHandlerExceptions',
|
|
809
|
+
'centered',
|
|
809
810
|
'cls',
|
|
810
811
|
'column',
|
|
811
812
|
'dataset',
|
|
@@ -92,9 +92,10 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
92
92
|
catchEventHandlerExceptions? : boolean
|
|
93
93
|
/**
|
|
94
94
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
95
|
-
*
|
|
95
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-centered)
|
|
96
|
+
* @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.
|
|
96
97
|
*/
|
|
97
|
-
centered? : boolean
|
|
98
|
+
centered? : boolean|object
|
|
98
99
|
/**
|
|
99
100
|
* Custom CSS classes to add to element.
|
|
100
101
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -195,7 +196,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
195
196
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
196
197
|
/**
|
|
197
198
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
198
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
199
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
199
200
|
* property which controls when a drag should start.
|
|
200
201
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-draggable)
|
|
201
202
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -339,7 +340,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
339
340
|
*/
|
|
340
341
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
341
342
|
/**
|
|
342
|
-
* Sets `labelWidth
|
|
343
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
343
344
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-labelWidth)
|
|
344
345
|
*/
|
|
345
346
|
labelWidth? : number|null
|
|
@@ -517,7 +518,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
517
518
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
518
519
|
/**
|
|
519
520
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
520
|
-
* Valid values:
|
|
521
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
521
522
|
*/
|
|
522
523
|
scrollAction? : 'hide'|'realign'|null
|
|
523
524
|
/**
|
|
@@ -844,7 +845,6 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
844
845
|
'bodyCls',
|
|
845
846
|
'border',
|
|
846
847
|
'bubbleEvents',
|
|
847
|
-
'centered',
|
|
848
848
|
'codePath',
|
|
849
849
|
'collapsible',
|
|
850
850
|
'color',
|
|
@@ -912,6 +912,7 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
912
912
|
'appendTo',
|
|
913
913
|
'callOnFunctions',
|
|
914
914
|
'catchEventHandlerExceptions',
|
|
915
|
+
'centered',
|
|
915
916
|
'cls',
|
|
916
917
|
'collapsed',
|
|
917
918
|
'column',
|
|
@@ -82,9 +82,10 @@ export type BryntumDisplayFieldProps = {
|
|
|
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/DisplayField#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 BryntumDisplayFieldProps = {
|
|
|
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/DisplayField#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
|
|
@@ -489,7 +490,7 @@ export type BryntumDisplayFieldProps = {
|
|
|
489
490
|
rtl? : boolean
|
|
490
491
|
/**
|
|
491
492
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
492
|
-
* Valid values:
|
|
493
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
493
494
|
*/
|
|
494
495
|
scrollAction? : 'hide'|'realign'|null
|
|
495
496
|
/**
|
|
@@ -774,7 +775,6 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
|
|
|
774
775
|
'autoComplete',
|
|
775
776
|
'autoSelect',
|
|
776
777
|
'bubbleEvents',
|
|
777
|
-
'centered',
|
|
778
778
|
'checkValidity',
|
|
779
779
|
'clearable',
|
|
780
780
|
'color',
|
|
@@ -843,6 +843,7 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
|
|
|
843
843
|
'badge',
|
|
844
844
|
'callOnFunctions',
|
|
845
845
|
'catchEventHandlerExceptions',
|
|
846
|
+
'centered',
|
|
846
847
|
'cls',
|
|
847
848
|
'column',
|
|
848
849
|
'dataset',
|