rsuite 5.64.1 → 5.64.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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [5.64.2](https://github.com/rsuite/rsuite/compare/v5.64.1...v5.64.2) (2024-06-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **Panel:** fix unable to add className to PanelBody ([#3845](https://github.com/rsuite/rsuite/issues/3845)) ([ca70540](https://github.com/rsuite/rsuite/commit/ca705409fcd5539b2e95e34be3245414ede84237))
7
+ * **radio:** disabled radio control hover cursor ([#3847](https://github.com/rsuite/rsuite/issues/3847)) ([99f7859](https://github.com/rsuite/rsuite/commit/99f7859921defdd7b7fc980552653a4c2f391028))
8
+ * remove unnecessary dependencies ([#3844](https://github.com/rsuite/rsuite/issues/3844)) ([51d70ba](https://github.com/rsuite/rsuite/commit/51d70ba00a35c5fc8d75c324cb856e811adebcd1))
9
+
10
+
11
+
1
12
  ## [5.64.1](https://github.com/rsuite/rsuite/compare/v5.64.0...v5.64.1) (2024-06-14)
2
13
 
3
14
 
@@ -167,6 +167,9 @@
167
167
  bottom: -10px;
168
168
  left: -10px;
169
169
  }
170
+ .rs-radio-control [type='radio']:disabled {
171
+ cursor: not-allowed;
172
+ }
170
173
  .rs-radio-control::before,
171
174
  .rs-radio-control .rs-radio-inner::before,
172
175
  .rs-radio-control .rs-radio-inner::after {
@@ -40,6 +40,10 @@
40
40
  right: -@radio-sense-width;
41
41
  bottom: -@radio-sense-width;
42
42
  left: -@radio-sense-width;
43
+
44
+ &:disabled {
45
+ cursor: @cursor-disabled;
46
+ }
43
47
  }
44
48
 
45
49
  &::before,
@@ -10,7 +10,7 @@ var _react = _interopRequireDefault(require("react"));
10
10
  var _Collapse = _interopRequireDefault(require("../Animation/Collapse"));
11
11
  var _hooks = require("../internals/hooks");
12
12
  var _ScrollView = _interopRequireDefault(require("../internals/ScrollView"));
13
- var _excluded = ["classPrefix", "children", "collapsible", "expanded", "bodyFill", "role", "id", "labelId", "scrollShadow", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "onScroll"],
13
+ var _excluded = ["classPrefix", "children", "collapsible", "expanded", "bodyFill", "role", "id", "labelId", "scrollShadow", "className", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "onScroll"],
14
14
  _excluded2 = ["className"];
15
15
  var PanelBody = function PanelBody(props) {
16
16
  var _props$classPrefix = props.classPrefix,
@@ -23,6 +23,7 @@ var PanelBody = function PanelBody(props) {
23
23
  id = props.id,
24
24
  labelId = props.labelId,
25
25
  scrollShadow = props.scrollShadow,
26
+ className = props.className,
26
27
  onEnter = props.onEnter,
27
28
  onEntering = props.onEntering,
28
29
  onEntered = props.onEntered,
@@ -35,9 +36,9 @@ var PanelBody = function PanelBody(props) {
35
36
  merge = _useClassNames.merge,
36
37
  prefix = _useClassNames.prefix,
37
38
  withClassPrefix = _useClassNames.withClassPrefix;
38
- var bodyClasses = withClassPrefix({
39
+ var bodyClasses = merge(className, withClassPrefix({
39
40
  fill: bodyFill
40
- });
41
+ }));
41
42
  var renderBody = function renderBody(bodyProps) {
42
43
  return /*#__PURE__*/_react.default.createElement(_ScrollView.default, (0, _extends2.default)({}, rest, bodyProps, {
43
44
  customScrollbar: true,
@@ -12101,6 +12101,9 @@ textarea.rs-inline-edit-sm .rs-plaintext {
12101
12101
  bottom: -10px;
12102
12102
  right: -10px;
12103
12103
  }
12104
+ .rs-radio-control [type='radio']:disabled {
12105
+ cursor: not-allowed;
12106
+ }
12104
12107
  .rs-radio-control::before,
12105
12108
  .rs-radio-control .rs-radio-inner::before,
12106
12109
  .rs-radio-control .rs-radio-inner::after {