rsuite 6.0.0-canary-20251031 → 6.0.0
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/Breadcrumb/styles/index.css +2 -3
- package/CHANGELOG.md +196 -396
- package/cjs/AutoComplete/utils.js +0 -0
- package/cjs/Breadcrumb/Breadcrumb.js +1 -1
- package/cjs/DOMHelper/isElement.js +0 -0
- package/cjs/DatePicker/Toolbar.js +4 -1
- package/cjs/Dropdown/DropdownState.js +0 -0
- package/cjs/List/ListContext.js +0 -0
- package/cjs/List/helper/AutoScroller.js +0 -0
- package/cjs/List/helper/useManager.js +0 -0
- package/cjs/MaskedInput/adjustCaretPosition.js +0 -0
- package/cjs/MaskedInput/types.js +0 -0
- package/cjs/MaskedInput/utilities.js +0 -0
- package/cjs/Sidenav/Node.js +0 -0
- package/dist/rsuite-no-reset.css +1 -1
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite.css +1 -1
- package/dist/rsuite.js +264 -264
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/AutoComplete/utils.js +0 -0
- package/esm/Breadcrumb/Breadcrumb.js +1 -1
- package/esm/DOMHelper/isElement.js +0 -0
- package/esm/DatePicker/Toolbar.js +4 -1
- package/esm/Dropdown/DropdownState.js +0 -0
- package/esm/List/ListContext.js +0 -0
- package/esm/List/helper/AutoScroller.js +0 -0
- package/esm/List/helper/useManager.js +0 -0
- package/esm/MaskedInput/adjustCaretPosition.js +0 -0
- package/esm/MaskedInput/types.js +0 -0
- package/esm/MaskedInput/utilities.js +0 -0
- package/esm/Sidenav/Node.js +0 -0
- package/package.json +1 -1
|
File without changes
|
|
File without changes
|
|
@@ -46,10 +46,13 @@ const Toolbar = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
46
46
|
return null;
|
|
47
47
|
}
|
|
48
48
|
const classes = merge(className, withPrefix());
|
|
49
|
+
|
|
50
|
+
// If there are no ranges, the ok button should be aligned to the right
|
|
51
|
+
const justify = (ranges === null || ranges === void 0 ? void 0 : ranges.length) === 0 ? 'flex-end' : 'space-between';
|
|
49
52
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
50
53
|
ref: ref,
|
|
51
54
|
className: classes,
|
|
52
|
-
justify:
|
|
55
|
+
justify: justify,
|
|
53
56
|
align: "flex-start"
|
|
54
57
|
}, rest), /*#__PURE__*/React.createElement(PredefinedRanges, {
|
|
55
58
|
wrap: true,
|
|
File without changes
|
package/esm/List/ListContext.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/MaskedInput/types.js
CHANGED
|
File without changes
|
|
File without changes
|
package/esm/Sidenav/Node.js
CHANGED
|
File without changes
|