@zykj2024/much-library 1.0.10 → 1.0.11

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.
@@ -16,16 +16,10 @@ var ObserverInsertionWrapper = function ObserverInsertionWrapper(_ref) {
16
16
  _ref$itemMinHeight = _ref.itemMinHeight,
17
17
  itemMinHeight = _ref$itemMinHeight === void 0 ? 20 : _ref$itemMinHeight;
18
18
  var wrapperRef = useRef(null);
19
- console.log({
20
- itemMinHeight: itemMinHeight
21
- });
22
19
  var _useState = useState(new Array(children.length).fill(false)),
23
20
  _useState2 = _slicedToArray(_useState, 2),
24
21
  visibleItems = _useState2[0],
25
22
  setVisibleItems = _useState2[1];
26
- console.log({
27
- root: root
28
- }, document.getElementById('example1'));
29
23
  useEffect(function () {
30
24
  var _wrapperRef$current;
31
25
  var observer = new IntersectionObserver(function (entries) {
@@ -189,7 +189,7 @@ var McSelect = /*#__PURE__*/forwardRef(function (props, ref) {
189
189
  _yield$fetchOptions = _context.sent;
190
190
  data = _yield$fetchOptions.data;
191
191
  total = _yield$fetchOptions.total;
192
- newOptions = (_selectOptions.current || []).concat(data || []);
192
+ newOptions = (current === 1 ? [] : _selectOptions.current || []).concat(data || []);
193
193
  _maxPage.current = Math.ceil(total / pageSize) || 1;
194
194
  // 下拉列表滚动至最新数据的位置
195
195
  if (_listEl.current) {
@@ -33,7 +33,7 @@
33
33
  "Radio": {
34
34
  "buttonLineBg": "rgb(216, 216, 216)",
35
35
  "buttonLineHeight": 16,
36
- "buttonCheckedBorderColorDisabled": "rgb(216, 216, 216)"
36
+ "buttonCheckedBorderColorDisabled": "#B3B3B3"
37
37
  }
38
38
  }
39
39
  }
@@ -91,8 +91,8 @@
91
91
  "buttonColor": "rgb(38, 38, 38)",
92
92
  "buttonCheckedBg": "rgba(255, 255, 255, 0.1)",
93
93
  "buttonCheckedBgDisabled": "rgba(255, 255, 255, 0.1)",
94
- "buttonCheckedColorDisabled": "rgb(179, 179, 179)",
95
- "colorBgContainerDisabled": "rgb(245, 245, 245)"
94
+ "buttonCheckedBorderColorDisabled": "#B3B3B3",
95
+ "colorBgContainerDisabled": "#F0F2F5"
96
96
  },
97
97
  "Select": {
98
98
  "selectorBg": "rgb(240, 242, 245)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zykj2024/much-library",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "react library",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -65,7 +65,7 @@
65
65
  "@umijs/lint": "^4.0.0",
66
66
  "dumi": "^2.4.4",
67
67
  "eslint": "^8.23.0",
68
- "father": "^4.1.0",
68
+ "father": "^4.5.0",
69
69
  "husky": "^8.0.1",
70
70
  "lint-staged": "^13.0.3",
71
71
  "prettier": "^2.7.1",