@bryntum/core-react-thin 7.3.2 → 7.3.4
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 +30 -10
- package/lib/WrapperHelper.js.map +1 -1
- package/license.pdf +0 -0
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +7 -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 +7 -5
- package/src/BryntumCombo.tsx +7 -5
- package/src/BryntumContainer.tsx +7 -6
- package/src/BryntumDateField.tsx +7 -5
- package/src/BryntumDatePicker.tsx +7 -6
- package/src/BryntumDateRangeField.tsx +7 -5
- package/src/BryntumDateTimeField.tsx +7 -5
- package/src/BryntumDemoCodeEditor.tsx +7 -6
- package/src/BryntumDisplayField.tsx +7 -5
- package/src/BryntumDurationField.tsx +7 -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 +7 -5
- package/src/BryntumFilePicker.tsx +7 -6
- package/src/BryntumFilterField.tsx +7 -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 +7 -5
- package/src/BryntumPagingToolbar.tsx +7 -6
- package/src/BryntumPanel.tsx +7 -6
- package/src/BryntumPasswordField.tsx +7 -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 +7 -5
- package/src/BryntumTextAreaPickerField.tsx +7 -5
- package/src/BryntumTextField.tsx +7 -5
- package/src/BryntumTimeField.tsx +7 -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 +72 -21
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',
|
|
@@ -88,9 +88,10 @@ export type BryntumMonthPickerProps = {
|
|
|
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/MonthPicker#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 BryntumMonthPickerProps = {
|
|
|
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/MonthPicker#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
|
|
@@ -326,7 +327,7 @@ export type BryntumMonthPickerProps = {
|
|
|
326
327
|
*/
|
|
327
328
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
328
329
|
/**
|
|
329
|
-
* Sets `labelWidth
|
|
330
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
330
331
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-labelWidth)
|
|
331
332
|
*/
|
|
332
333
|
labelWidth? : number|null
|
|
@@ -496,7 +497,7 @@ export type BryntumMonthPickerProps = {
|
|
|
496
497
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
497
498
|
/**
|
|
498
499
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
499
|
-
* Valid values:
|
|
500
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
500
501
|
*/
|
|
501
502
|
scrollAction? : 'hide'|'realign'|null
|
|
502
503
|
/**
|
|
@@ -824,7 +825,6 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
824
825
|
'bodyCls',
|
|
825
826
|
'border',
|
|
826
827
|
'bubbleEvents',
|
|
827
|
-
'centered',
|
|
828
828
|
'collapsible',
|
|
829
829
|
'color',
|
|
830
830
|
'config',
|
|
@@ -888,6 +888,7 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
888
888
|
'appendTo',
|
|
889
889
|
'callOnFunctions',
|
|
890
890
|
'catchEventHandlerExceptions',
|
|
891
|
+
'centered',
|
|
891
892
|
'cls',
|
|
892
893
|
'collapsed',
|
|
893
894
|
'column',
|
|
@@ -82,9 +82,10 @@ export type BryntumNumberFieldProps = {
|
|
|
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/NumberField#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
|
* Controls how change events are triggered when stepping the value up or down using either spinners or
|
|
90
91
|
* arrow keys.
|
|
@@ -104,6 +105,7 @@ export type BryntumNumberFieldProps = {
|
|
|
104
105
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
105
106
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
106
107
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
108
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-clearable)
|
|
107
109
|
*/
|
|
108
110
|
clearable? : boolean|FieldTriggerConfig
|
|
109
111
|
/**
|
|
@@ -187,7 +189,7 @@ export type BryntumNumberFieldProps = {
|
|
|
187
189
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
188
190
|
/**
|
|
189
191
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
190
|
-
* 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`
|
|
191
193
|
* property which controls when a drag should start.
|
|
192
194
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-draggable)
|
|
193
195
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -525,7 +527,7 @@ export type BryntumNumberFieldProps = {
|
|
|
525
527
|
rtl? : boolean
|
|
526
528
|
/**
|
|
527
529
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
528
|
-
* Valid values:
|
|
530
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
529
531
|
*/
|
|
530
532
|
scrollAction? : 'hide'|'realign'|null
|
|
531
533
|
/**
|
|
@@ -814,7 +816,6 @@ export class BryntumNumberField extends React.Component<BryntumNumberFieldProps>
|
|
|
814
816
|
'autoComplete',
|
|
815
817
|
'autoSelect',
|
|
816
818
|
'bubbleEvents',
|
|
817
|
-
'centered',
|
|
818
819
|
'changeOnSpin',
|
|
819
820
|
'checkValidity',
|
|
820
821
|
'clearable',
|
|
@@ -888,6 +889,7 @@ export class BryntumNumberField extends React.Component<BryntumNumberFieldProps>
|
|
|
888
889
|
'badge',
|
|
889
890
|
'callOnFunctions',
|
|
890
891
|
'catchEventHandlerExceptions',
|
|
892
|
+
'centered',
|
|
891
893
|
'cls',
|
|
892
894
|
'column',
|
|
893
895
|
'dataset',
|
|
@@ -77,9 +77,10 @@ export type BryntumPagingToolbarProps = {
|
|
|
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/PagingToolbar#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 BryntumPagingToolbarProps = {
|
|
|
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/PagingToolbar#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
|
|
@@ -277,7 +278,7 @@ export type BryntumPagingToolbarProps = {
|
|
|
277
278
|
*/
|
|
278
279
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
279
280
|
/**
|
|
280
|
-
* Sets `labelWidth
|
|
281
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
281
282
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-labelWidth)
|
|
282
283
|
*/
|
|
283
284
|
labelWidth? : number|null
|
|
@@ -451,7 +452,7 @@ export type BryntumPagingToolbarProps = {
|
|
|
451
452
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
452
453
|
/**
|
|
453
454
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
454
|
-
* Valid values:
|
|
455
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
455
456
|
*/
|
|
456
457
|
scrollAction? : 'hide'|'realign'|null
|
|
457
458
|
/**
|
|
@@ -721,7 +722,6 @@ export class BryntumPagingToolbar extends React.Component<BryntumPagingToolbarPr
|
|
|
721
722
|
'autoUpdateRecord',
|
|
722
723
|
'border',
|
|
723
724
|
'bubbleEvents',
|
|
724
|
-
'centered',
|
|
725
725
|
'color',
|
|
726
726
|
'config',
|
|
727
727
|
'constrainTo',
|
|
@@ -777,6 +777,7 @@ export class BryntumPagingToolbar extends React.Component<BryntumPagingToolbarPr
|
|
|
777
777
|
'appendTo',
|
|
778
778
|
'callOnFunctions',
|
|
779
779
|
'catchEventHandlerExceptions',
|
|
780
|
+
'centered',
|
|
780
781
|
'cls',
|
|
781
782
|
'column',
|
|
782
783
|
'content',
|
package/src/BryntumPanel.tsx
CHANGED
|
@@ -88,9 +88,10 @@ export type BryntumPanelProps = {
|
|
|
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/Panel#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 BryntumPanelProps = {
|
|
|
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/Panel#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
|
|
@@ -326,7 +327,7 @@ export type BryntumPanelProps = {
|
|
|
326
327
|
*/
|
|
327
328
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
328
329
|
/**
|
|
329
|
-
* Sets `labelWidth
|
|
330
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
330
331
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-labelWidth)
|
|
331
332
|
*/
|
|
332
333
|
labelWidth? : number|null
|
|
@@ -492,7 +493,7 @@ export type BryntumPanelProps = {
|
|
|
492
493
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
493
494
|
/**
|
|
494
495
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
495
|
-
* Valid values:
|
|
496
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
496
497
|
*/
|
|
497
498
|
scrollAction? : 'hide'|'realign'|null
|
|
498
499
|
/**
|
|
@@ -806,7 +807,6 @@ export class BryntumPanel extends React.Component<BryntumPanelProps> {
|
|
|
806
807
|
'bodyCls',
|
|
807
808
|
'border',
|
|
808
809
|
'bubbleEvents',
|
|
809
|
-
'centered',
|
|
810
810
|
'collapsible',
|
|
811
811
|
'color',
|
|
812
812
|
'config',
|
|
@@ -870,6 +870,7 @@ export class BryntumPanel extends React.Component<BryntumPanelProps> {
|
|
|
870
870
|
'appendTo',
|
|
871
871
|
'callOnFunctions',
|
|
872
872
|
'catchEventHandlerExceptions',
|
|
873
|
+
'centered',
|
|
873
874
|
'cls',
|
|
874
875
|
'collapsed',
|
|
875
876
|
'column',
|
|
@@ -82,9 +82,10 @@ export type BryntumPasswordFieldProps = {
|
|
|
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/PasswordField#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)
|
|
@@ -98,6 +99,7 @@ export type BryntumPasswordFieldProps = {
|
|
|
98
99
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
99
100
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
100
101
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
102
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-clearable)
|
|
101
103
|
*/
|
|
102
104
|
clearable? : boolean|FieldTriggerConfig
|
|
103
105
|
/**
|
|
@@ -181,7 +183,7 @@ export type BryntumPasswordFieldProps = {
|
|
|
181
183
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
182
184
|
/**
|
|
183
185
|
* *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
|
|
186
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
185
187
|
* property which controls when a drag should start.
|
|
186
188
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PasswordField#config-draggable)
|
|
187
189
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -489,7 +491,7 @@ export type BryntumPasswordFieldProps = {
|
|
|
489
491
|
rtl? : boolean
|
|
490
492
|
/**
|
|
491
493
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
492
|
-
* Valid values:
|
|
494
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
493
495
|
*/
|
|
494
496
|
scrollAction? : 'hide'|'realign'|null
|
|
495
497
|
/**
|
|
@@ -766,7 +768,6 @@ export class BryntumPasswordField extends React.Component<BryntumPasswordFieldPr
|
|
|
766
768
|
'autoComplete',
|
|
767
769
|
'autoSelect',
|
|
768
770
|
'bubbleEvents',
|
|
769
|
-
'centered',
|
|
770
771
|
'checkValidity',
|
|
771
772
|
'clearable',
|
|
772
773
|
'color',
|
|
@@ -834,6 +835,7 @@ export class BryntumPasswordField extends React.Component<BryntumPasswordFieldPr
|
|
|
834
835
|
'badge',
|
|
835
836
|
'callOnFunctions',
|
|
836
837
|
'catchEventHandlerExceptions',
|
|
838
|
+
'centered',
|
|
837
839
|
'cls',
|
|
838
840
|
'column',
|
|
839
841
|
'dataset',
|
|
@@ -69,9 +69,10 @@ export type BryntumProgressBarProps = {
|
|
|
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/ProgressBar#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
|
|
@@ -143,7 +144,7 @@ export type BryntumProgressBarProps = {
|
|
|
143
144
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
144
145
|
/**
|
|
145
146
|
* *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
|
|
147
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
147
148
|
* property which controls when a drag should start.
|
|
148
149
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-draggable)
|
|
149
150
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -358,7 +359,7 @@ export type BryntumProgressBarProps = {
|
|
|
358
359
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
359
360
|
/**
|
|
360
361
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
361
|
-
* Valid values:
|
|
362
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
362
363
|
*/
|
|
363
364
|
scrollAction? : 'hide'|'realign'|null
|
|
364
365
|
/**
|
|
@@ -569,7 +570,6 @@ export class BryntumProgressBar extends React.Component<BryntumProgressBarProps>
|
|
|
569
570
|
'ariaDescription',
|
|
570
571
|
'ariaLabel',
|
|
571
572
|
'bubbleEvents',
|
|
572
|
-
'centered',
|
|
573
573
|
'config',
|
|
574
574
|
'constrainTo',
|
|
575
575
|
'contentElementCls',
|
|
@@ -613,6 +613,7 @@ export class BryntumProgressBar extends React.Component<BryntumProgressBarProps>
|
|
|
613
613
|
'appendTo',
|
|
614
614
|
'callOnFunctions',
|
|
615
615
|
'catchEventHandlerExceptions',
|
|
616
|
+
'centered',
|
|
616
617
|
'cls',
|
|
617
618
|
'color',
|
|
618
619
|
'column',
|
package/src/BryntumRadio.tsx
CHANGED
|
@@ -89,9 +89,10 @@ export type BryntumRadioProps = {
|
|
|
89
89
|
catchEventHandlerExceptions? : boolean
|
|
90
90
|
/**
|
|
91
91
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
92
|
-
*
|
|
92
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Radio#config-centered)
|
|
93
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
93
94
|
*/
|
|
94
|
-
centered? : boolean
|
|
95
|
+
centered? : boolean|object
|
|
95
96
|
/**
|
|
96
97
|
* The checked state. The same as `value`.
|
|
97
98
|
*/
|
|
@@ -190,7 +191,7 @@ export type BryntumRadioProps = {
|
|
|
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/Radio#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
|
|
@@ -487,7 +488,7 @@ export type BryntumRadioProps = {
|
|
|
487
488
|
rtl? : boolean
|
|
488
489
|
/**
|
|
489
490
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
490
|
-
* Valid values:
|
|
491
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
491
492
|
*/
|
|
492
493
|
scrollAction? : 'hide'|'realign'|null
|
|
493
494
|
/**
|
|
@@ -792,7 +793,6 @@ export class BryntumRadio extends React.Component<BryntumRadioProps> {
|
|
|
792
793
|
'autoComplete',
|
|
793
794
|
'autoSelect',
|
|
794
795
|
'bubbleEvents',
|
|
795
|
-
'centered',
|
|
796
796
|
'checkedValue',
|
|
797
797
|
'checkValidity',
|
|
798
798
|
'color',
|
|
@@ -861,6 +861,7 @@ export class BryntumRadio extends React.Component<BryntumRadioProps> {
|
|
|
861
861
|
'badge',
|
|
862
862
|
'callOnFunctions',
|
|
863
863
|
'catchEventHandlerExceptions',
|
|
864
|
+
'centered',
|
|
864
865
|
'checked',
|
|
865
866
|
'cls',
|
|
866
867
|
'column',
|
|
@@ -88,9 +88,10 @@ export type BryntumRadioGroupProps = {
|
|
|
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/RadioGroup#config-centered)
|
|
92
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
92
93
|
*/
|
|
93
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
94
95
|
/**
|
|
95
96
|
* Set this to `true` so that clicking the currently checked radio button will clear the check from all
|
|
96
97
|
* radio buttons in the group.
|
|
@@ -191,7 +192,7 @@ export type BryntumRadioGroupProps = {
|
|
|
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/RadioGroup#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
|
|
@@ -345,7 +346,7 @@ export type BryntumRadioGroupProps = {
|
|
|
345
346
|
*/
|
|
346
347
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
347
348
|
/**
|
|
348
|
-
* Sets `labelWidth
|
|
349
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
349
350
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-labelWidth)
|
|
350
351
|
*/
|
|
351
352
|
labelWidth? : number|null
|
|
@@ -525,7 +526,7 @@ export type BryntumRadioGroupProps = {
|
|
|
525
526
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
526
527
|
/**
|
|
527
528
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
528
|
-
* Valid values:
|
|
529
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
529
530
|
*/
|
|
530
531
|
scrollAction? : 'hide'|'realign'|null
|
|
531
532
|
/**
|
|
@@ -844,7 +845,6 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
844
845
|
'bodyCls',
|
|
845
846
|
'border',
|
|
846
847
|
'bubbleEvents',
|
|
847
|
-
'centered',
|
|
848
848
|
'clearable',
|
|
849
849
|
'collapsible',
|
|
850
850
|
'color',
|
|
@@ -912,6 +912,7 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
912
912
|
'appendTo',
|
|
913
913
|
'callOnFunctions',
|
|
914
914
|
'catchEventHandlerExceptions',
|
|
915
|
+
'centered',
|
|
915
916
|
'cls',
|
|
916
917
|
'collapsed',
|
|
917
918
|
'column',
|
|
@@ -89,9 +89,10 @@ export type BryntumSlideToggleProps = {
|
|
|
89
89
|
catchEventHandlerExceptions? : boolean
|
|
90
90
|
/**
|
|
91
91
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
92
|
-
*
|
|
92
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/SlideToggle#config-centered)
|
|
93
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
93
94
|
*/
|
|
94
|
-
centered? : boolean
|
|
95
|
+
centered? : boolean|object
|
|
95
96
|
/**
|
|
96
97
|
* The checked state. The same as `value`.
|
|
97
98
|
*/
|
|
@@ -190,7 +191,7 @@ export type BryntumSlideToggleProps = {
|
|
|
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/SlideToggle#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
|
|
@@ -487,7 +488,7 @@ export type BryntumSlideToggleProps = {
|
|
|
487
488
|
rtl? : boolean
|
|
488
489
|
/**
|
|
489
490
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
490
|
-
* Valid values:
|
|
491
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
491
492
|
*/
|
|
492
493
|
scrollAction? : 'hide'|'realign'|null
|
|
493
494
|
/**
|
|
@@ -792,7 +793,6 @@ export class BryntumSlideToggle extends React.Component<BryntumSlideToggleProps>
|
|
|
792
793
|
'autoComplete',
|
|
793
794
|
'autoSelect',
|
|
794
795
|
'bubbleEvents',
|
|
795
|
-
'centered',
|
|
796
796
|
'checkedValue',
|
|
797
797
|
'checkValidity',
|
|
798
798
|
'color',
|
|
@@ -861,6 +861,7 @@ export class BryntumSlideToggle extends React.Component<BryntumSlideToggleProps>
|
|
|
861
861
|
'badge',
|
|
862
862
|
'callOnFunctions',
|
|
863
863
|
'catchEventHandlerExceptions',
|
|
864
|
+
'centered',
|
|
864
865
|
'checked',
|
|
865
866
|
'cls',
|
|
866
867
|
'column',
|
package/src/BryntumSlider.tsx
CHANGED
|
@@ -69,9 +69,10 @@ export type BryntumSliderProps = {
|
|
|
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/Slider#config-centered)
|
|
73
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
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 BryntumSliderProps = {
|
|
|
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/Slider#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
|
|
@@ -377,7 +378,7 @@ export type BryntumSliderProps = {
|
|
|
377
378
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
378
379
|
/**
|
|
379
380
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
380
|
-
* Valid values:
|
|
381
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
381
382
|
*/
|
|
382
383
|
scrollAction? : 'hide'|'realign'|null
|
|
383
384
|
/**
|
|
@@ -630,7 +631,6 @@ export class BryntumSlider extends React.Component<BryntumSliderProps> {
|
|
|
630
631
|
'ariaDescription',
|
|
631
632
|
'ariaLabel',
|
|
632
633
|
'bubbleEvents',
|
|
633
|
-
'centered',
|
|
634
634
|
'color',
|
|
635
635
|
'config',
|
|
636
636
|
'constrainTo',
|
|
@@ -681,6 +681,7 @@ export class BryntumSlider extends React.Component<BryntumSliderProps> {
|
|
|
681
681
|
'appendTo',
|
|
682
682
|
'callOnFunctions',
|
|
683
683
|
'catchEventHandlerExceptions',
|
|
684
|
+
'centered',
|
|
684
685
|
'cls',
|
|
685
686
|
'column',
|
|
686
687
|
'content',
|