@jiaozhiye/qm-design-react 1.8.7 → 1.8.9

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.
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { CSSProperties, ComponentSize } from '../../_utils/types';
3
3
  import type { IFetch, IRecord, ICheckStrategy } from '../../table/src/table/types';
4
4
  import type { TreeProps } from '../../antd';
5
- type IProps = TreeProps & {
5
+ type IProps = TreeProps<IRecord> & {
6
6
  size?: ComponentSize;
7
7
  filterable?: boolean;
8
8
  multiple?: boolean;
@@ -33,7 +33,7 @@ type SearchTreeRef = {
33
33
  UPDATE_RECORD: (key: React.Key, record: IRecord) => void;
34
34
  };
35
35
  export type SearchTreeProps = IProps;
36
- declare const SearchTree: React.ForwardRefExoticComponent<TreeProps<import("rc-tree/lib/interface").DataNode> & {
36
+ declare const SearchTree: React.ForwardRefExoticComponent<TreeProps<IRecord<any>> & {
37
37
  size?: ComponentSize | undefined;
38
38
  filterable?: boolean | undefined;
39
39
  multiple?: boolean | undefined;
@@ -5788,7 +5788,7 @@ a.ant-btn-sm {
5788
5788
  margin-left: 0;
5789
5789
  }
5790
5790
  .ant-picker-status-error.ant-picker,
5791
- .ant-picker-status-error.ant-picker:not([disabled]):hover {
5791
+ .ant-picker-status-error.ant-picker:not(.ant-picker-disabled):hover {
5792
5792
  background-color: #fff;
5793
5793
  border-color: #ff4d4f;
5794
5794
  }
@@ -5803,7 +5803,7 @@ a.ant-btn-sm {
5803
5803
  background: #ff7875;
5804
5804
  }
5805
5805
  .ant-picker-status-warning.ant-picker,
5806
- .ant-picker-status-warning.ant-picker:not([disabled]):hover {
5806
+ .ant-picker-status-warning.ant-picker:not(.ant-picker-disabled):hover {
5807
5807
  background-color: #fff;
5808
5808
  border-color: #faad14;
5809
5809
  }