dcp-design-react 1.8.5 → 1.8.6

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,12 +2,12 @@ import React from 'react';
2
2
  import type { CSSProperties } from '../../_utils/types';
3
3
  type IProps = {
4
4
  height: number | string;
5
+ forceRender?: boolean;
5
6
  placeholder?: React.ReactNode;
6
7
  unmountIfInvisible?: boolean;
7
8
  root?: Element | null;
8
9
  rootMargin?: string;
9
10
  threshold?: number | number[];
10
- initialInView?: boolean;
11
11
  trackVisibility?: boolean;
12
12
  skip?: boolean;
13
13
  delay?: number;
@@ -8,12 +8,11 @@ type Options = {
8
8
  rootMargin?: string;
9
9
  threshold?: number | number[];
10
10
  triggerOnce?: boolean;
11
- initialInView?: boolean;
12
11
  fallbackInView?: boolean;
13
12
  trackVisibility?: boolean;
14
13
  skip?: boolean;
15
14
  delay?: number;
16
15
  onChange?: (inView: boolean, entry: IntersectionObserverEntry) => void;
17
16
  };
18
- export declare const useInView: ({ threshold, delay, trackVisibility, rootMargin, root, triggerOnce, skip, initialInView, fallbackInView, onChange, }?: Options) => InViewHookResponse;
17
+ export declare const useInView: ({ root, rootMargin, threshold, triggerOnce, fallbackInView, trackVisibility, skip, delay, onChange, }?: Options) => InViewHookResponse;
19
18
  export {};
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import type { IFormItem, IFormData } from '../../form/src/types';
3
- import type { IFetch, IColumn, IRowKey, IRecord } from '../../table/src/table/types';
3
+ import type { IFetch, IColumn, IRowKey, IRecord, IPaginationConfig } from '../../table/src/table/types';
4
4
  import type { CSSProperties, ComponentSize } from '../../_utils/types';
5
5
  type ITableConfig = {
6
6
  fetch?: IFetch;
7
7
  columns?: IColumn[];
8
8
  rowKey?: ((row: IRecord, index: number) => IRowKey) | IRowKey;
9
9
  webPagination?: boolean;
10
+ paginationConfig?: IPaginationConfig;
10
11
  };
11
12
  type IProps = {
12
13
  size?: ComponentSize;
@@ -28716,6 +28716,7 @@ table {
28716
28716
  .qm-table-toolbox .icon {
28717
28717
  font-size: 1.05em;
28718
28718
  }
28719
+ .qm-table-toolbox[class$='-open'],
28719
28720
  .qm-table-toolbox:hover {
28720
28721
  color: #1890ff;
28721
28722
  }