rsuite 5.34.0 → 5.34.1

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,10 @@
1
+ ## [5.34.1](https://github.com/rsuite/rsuite/compare/v5.34.0...v5.34.1) (2023-05-26)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **InputPicker:** add missing top padding of listbox ([#3214](https://github.com/rsuite/rsuite/issues/3214)) ([f6df23c](https://github.com/rsuite/rsuite/commit/f6df23c085c4d7944c5817b0a9f8a1168c41f0b9))
6
+ - **Radio,Checkbox:** remove leading space for Radio/Checkbox in groups ([#3215](https://github.com/rsuite/rsuite/issues/3215)) ([27c1495](https://github.com/rsuite/rsuite/commit/27c14952da87c21612a8e822295eefc0908b08d6))
7
+
1
8
  # [5.34.0](https://github.com/rsuite/rsuite/compare/v5.33.1...v5.34.0) (2023-05-19)
2
9
 
3
10
  ### Bug Fixes
@@ -45,7 +45,7 @@
45
45
  vertical-align: middle;
46
46
  font-weight: normal;
47
47
  margin-top: 0;
48
- margin-left: @radio-sense-width; // space out consecutive inline controls
48
+ margin-right: @radio-sense-width; // space out consecutive inline controls
49
49
 
50
50
  .rs-plaintext &:first-child {
51
51
  margin-left: 0;
@@ -3,9 +3,12 @@
3
3
  .rs-checkbox-group {
4
4
  display: flex;
5
5
  flex-direction: column;
6
+
7
+ > .rs-checkbox {
8
+ margin-left: -1 * @radio-sense-width;
9
+ }
6
10
  }
7
11
 
8
12
  .rs-checkbox-group-inline {
9
13
  flex-direction: row;
10
- margin-left: -1 * @radio-sense-width;
11
14
  }
@@ -3,11 +3,14 @@
3
3
  .rs-radio-group {
4
4
  display: flex;
5
5
  flex-direction: column;
6
+
7
+ > .rs-radio {
8
+ margin-left: -1 * @radio-sense-width;
9
+ }
6
10
  }
7
11
 
8
12
  .rs-radio-group-inline {
9
13
  flex-direction: row;
10
- margin-left: -1 * @radio-sense-width;
11
14
  }
12
15
 
13
16
  // Radio Group - picker appearance
@@ -616,7 +616,7 @@ var InputPicker = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
616
616
  top = positionProps.top,
617
617
  className = positionProps.className;
618
618
  var menuClassPrefix = multi ? 'picker-check-menu' : 'picker-select-menu';
619
- var classes = merge(className, menuClassName, prefix(menuClassPrefix));
619
+ var classes = merge(className, menuClassName, prefix(multi ? 'check-menu' : 'select-menu'));
620
620
  var styles = (0, _extends2.default)({}, menuStyle, {
621
621
  left: left,
622
622
  top: top
@@ -3890,7 +3890,7 @@ tbody.rs-anim-collapse.rs-anim-in {
3890
3890
  vertical-align: middle;
3891
3891
  font-weight: normal;
3892
3892
  margin-top: 0;
3893
- margin-right: 10px;
3893
+ margin-left: 10px;
3894
3894
  }
3895
3895
  .rs-plaintext .rs-checkbox-inline:first-child {
3896
3896
  margin-right: 0;
@@ -4053,12 +4053,14 @@ label:hover .rs-checkbox-wrapper .rs-checkbox-inner::before {
4053
4053
  -ms-flex-direction: column;
4054
4054
  flex-direction: column;
4055
4055
  }
4056
+ .rs-checkbox-group > .rs-checkbox {
4057
+ margin-right: -10px;
4058
+ }
4056
4059
  .rs-checkbox-group-inline {
4057
4060
  -webkit-box-orient: horizontal;
4058
4061
  -webkit-box-direction: normal;
4059
4062
  -ms-flex-direction: row;
4060
4063
  flex-direction: row;
4061
- margin-right: -10px;
4062
4064
  }
4063
4065
  .rs-picker-check-menu-items {
4064
4066
  margin-bottom: 6px;
@@ -12492,7 +12494,7 @@ textarea.rs-picker-menu .rs-picker-search-bar .rs-picker-search-bar-input {
12492
12494
  vertical-align: middle;
12493
12495
  font-weight: normal;
12494
12496
  margin-top: 0;
12495
- margin-right: 10px;
12497
+ margin-left: 10px;
12496
12498
  }
12497
12499
  .rs-plaintext .rs-radio-inline:first-child {
12498
12500
  margin-right: 0;
@@ -12642,12 +12644,14 @@ textarea.rs-picker-menu .rs-picker-search-bar .rs-picker-search-bar-input {
12642
12644
  -ms-flex-direction: column;
12643
12645
  flex-direction: column;
12644
12646
  }
12647
+ .rs-radio-group > .rs-radio {
12648
+ margin-right: -10px;
12649
+ }
12645
12650
  .rs-radio-group-inline {
12646
12651
  -webkit-box-orient: horizontal;
12647
12652
  -webkit-box-direction: normal;
12648
12653
  -ms-flex-direction: row;
12649
12654
  flex-direction: row;
12650
- margin-right: -10px;
12651
12655
  }
12652
12656
  .rs-radio-group-picker {
12653
12657
  display: -webkit-inline-box;