rsuite 5.74.1 → 5.74.2
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/Accordion/styles/index.css +0 -2
- package/Animation/styles/index.css +0 -2
- package/AutoComplete/styles/index.css +0 -2
- package/Avatar/styles/index.css +0 -2
- package/AvatarGroup/styles/index.css +0 -2
- package/Badge/styles/index.css +0 -2
- package/Breadcrumb/styles/index.css +0 -2
- package/Button/styles/index.css +0 -2
- package/ButtonGroup/styles/index.css +0 -2
- package/ButtonToolbar/styles/index.css +0 -2
- package/CHANGELOG.md +12 -0
- package/Calendar/styles/index.css +0 -2
- package/Carousel/styles/index.css +0 -2
- package/CascadeTree/styles/index.css +0 -2
- package/Cascader/styles/index.css +0 -2
- package/CheckPicker/styles/index.css +0 -2
- package/CheckTree/styles/index.css +0 -2
- package/CheckTreePicker/styles/index.css +0 -2
- package/Checkbox/styles/index.css +0 -2
- package/CheckboxGroup/styles/index.css +0 -2
- package/Col/styles/index.css +0 -2
- package/Container/styles/index.css +0 -2
- package/Content/styles/index.css +0 -2
- package/DateInput/styles/index.css +0 -2
- package/DatePicker/styles/index.css +0 -2
- package/DateRangeInput/styles/index.css +0 -2
- package/DateRangePicker/styles/index.css +0 -2
- package/Divider/styles/index.css +0 -2
- package/Drawer/styles/index.css +0 -2
- package/Dropdown/styles/index.css +0 -2
- package/FlexboxGrid/styles/index.css +0 -2
- package/Footer/styles/index.css +0 -2
- package/Form/styles/index.css +0 -2
- package/FormControl/styles/index.css +0 -2
- package/FormControlLabel/styles/index.css +0 -2
- package/FormErrorMessage/styles/index.css +0 -2
- package/FormGroup/styles/index.css +0 -2
- package/FormHelpText/styles/index.css +0 -2
- package/Grid/styles/index.css +0 -2
- package/Header/styles/index.css +0 -2
- package/Heading/styles/index.css +0 -2
- package/HeadingGroup/styles/index.css +0 -2
- package/Highlight/styles/index.css +0 -2
- package/IconButton/styles/index.css +0 -2
- package/InlineEdit/styles/index.css +0 -2
- package/Input/styles/index.css +0 -2
- package/InputGroup/styles/index.css +0 -2
- package/InputNumber/styles/index.css +0 -2
- package/InputPicker/styles/index.css +0 -2
- package/List/styles/index.css +0 -2
- package/Loader/styles/index.css +0 -2
- package/Message/styles/index.css +0 -2
- package/Modal/styles/index.css +0 -2
- package/MultiCascadeTree/styles/index.css +0 -2
- package/MultiCascader/styles/index.css +0 -2
- package/Nav/styles/index.css +0 -2
- package/Navbar/styles/index.css +0 -2
- package/Notification/styles/index.css +0 -2
- package/Pagination/styles/index.css +0 -2
- package/Panel/styles/index.css +0 -2
- package/PanelGroup/styles/index.css +0 -2
- package/Placeholder/styles/index.css +0 -2
- package/Popover/styles/index.css +0 -2
- package/Progress/styles/index.css +0 -2
- package/Radio/styles/index.css +0 -2
- package/RadioGroup/styles/index.css +0 -2
- package/RadioTile/styles/index.css +0 -2
- package/RadioTileGroup/styles/index.css +0 -2
- package/RangeSlider/styles/index.css +0 -2
- package/Rate/styles/index.css +0 -2
- package/Row/styles/index.css +0 -2
- package/SelectPicker/styles/index.css +0 -2
- package/Sidebar/styles/index.css +0 -2
- package/Sidenav/styles/index.css +0 -2
- package/Slider/styles/index.css +0 -2
- package/Stack/styles/index.css +0 -2
- package/Steps/styles/index.css +0 -2
- package/Table/styles/index.css +0 -2
- package/Tabs/styles/index.css +0 -2
- package/Tag/styles/index.css +0 -2
- package/TagGroup/styles/index.css +0 -2
- package/TagInput/styles/index.css +0 -2
- package/TagPicker/styles/index.css +0 -2
- package/Text/styles/index.css +0 -2
- package/TimePicker/styles/index.css +0 -2
- package/TimeRangePicker/styles/index.css +0 -2
- package/Timeline/styles/index.css +0 -2
- package/Toggle/styles/index.css +0 -2
- package/Tooltip/styles/index.css +0 -2
- package/Tree/styles/index.css +0 -2
- package/TreePicker/styles/index.css +0 -2
- package/Uploader/styles/index.css +0 -2
- package/VisuallyHidden/styles/index.css +0 -2
- package/cjs/DateRangePicker/DateRangePicker.js +4 -1
- package/cjs/Panel/AccordionButton.js +1 -0
- package/cjs/Table/Table.js +4 -2
- package/dist/rsuite-no-reset.css +0 -2
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite.css +0 -2
- package/dist/rsuite.js +3 -3
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/DateRangePicker/DateRangePicker.js +4 -1
- package/esm/Panel/AccordionButton.js +1 -0
- package/esm/Table/Table.js +4 -2
- package/package.json +1 -1
- package/toaster/styles/index.css +0 -2
- package/useToaster/styles/index.css +0 -2
package/Toggle/styles/index.css
CHANGED
package/Tooltip/styles/index.css
CHANGED
package/Tree/styles/index.css
CHANGED
|
@@ -463,6 +463,9 @@ var DateRangePicker = /*#__PURE__*/_react.default.forwardRef(function (props, re
|
|
|
463
463
|
dateRange: nextCalendarDate
|
|
464
464
|
});
|
|
465
465
|
});
|
|
466
|
+
var handleExit = (0, _hooks.useEventCallback)(function () {
|
|
467
|
+
setSelectedIdle(true);
|
|
468
|
+
});
|
|
466
469
|
|
|
467
470
|
/**
|
|
468
471
|
* Toolbar operation callback function
|
|
@@ -809,7 +812,7 @@ var DateRangePicker = /*#__PURE__*/_react.default.forwardRef(function (props, re
|
|
|
809
812
|
pickerProps: (0, _pick.default)(props, _Picker.pickTriggerPropKeys),
|
|
810
813
|
placement: placement,
|
|
811
814
|
onEnter: (0, _utils2.createChainedFunction)(events.onActive, handleEnter, onEnter),
|
|
812
|
-
onExit: (0, _utils2.createChainedFunction)(events.onInactive, onExit),
|
|
815
|
+
onExit: (0, _utils2.createChainedFunction)(events.onInactive, handleExit, onExit),
|
|
813
816
|
speaker: renderCalendarOverlay
|
|
814
817
|
}, /*#__PURE__*/_react.default.createElement(Component, {
|
|
815
818
|
ref: root,
|
|
@@ -30,6 +30,7 @@ var AccordionButton = function AccordionButton(props) {
|
|
|
30
30
|
withClassPrefix = _useClassNames.withClassPrefix;
|
|
31
31
|
return /*#__PURE__*/_react.default.createElement("button", (0, _extends2.default)({
|
|
32
32
|
id: id,
|
|
33
|
+
type: "button",
|
|
33
34
|
"aria-controls": controlId,
|
|
34
35
|
"aria-expanded": expanded,
|
|
35
36
|
"aria-disabled": disabled,
|
package/cjs/Table/Table.js
CHANGED
|
@@ -17,11 +17,13 @@ var _excluded = ["locale", "loadAnimation"];
|
|
|
17
17
|
var CustomTable = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
18
18
|
var _useCustom = (0, _CustomProvider.useCustom)('Table', props),
|
|
19
19
|
propsWithDefaults = _useCustom.propsWithDefaults,
|
|
20
|
-
rtl = _useCustom.rtl
|
|
21
|
-
|
|
20
|
+
rtl = _useCustom.rtl,
|
|
21
|
+
getLocale = _useCustom.getLocale;
|
|
22
|
+
var overrideLocale = propsWithDefaults.locale,
|
|
22
23
|
_propsWithDefaults$lo = propsWithDefaults.loadAnimation,
|
|
23
24
|
loadAnimation = _propsWithDefaults$lo === void 0 ? true : _propsWithDefaults$lo,
|
|
24
25
|
rest = (0, _objectWithoutPropertiesLoose2.default)(propsWithDefaults, _excluded);
|
|
26
|
+
var locale = getLocale('Calendar', overrideLocale);
|
|
25
27
|
return /*#__PURE__*/_react.default.createElement(_rsuiteTable.Table, (0, _extends2.default)({}, rest, {
|
|
26
28
|
rtl: rtl,
|
|
27
29
|
ref: ref,
|
package/dist/rsuite-no-reset.css
CHANGED
|
@@ -17634,5 +17634,3 @@ kbd.rs-text {
|
|
|
17634
17634
|
color: #717273;
|
|
17635
17635
|
color: var(--rs-text-secondary);
|
|
17636
17636
|
}
|
|
17637
|
-
|
|
17638
|
-
/*# sourceMappingURL=index.css.map */
|