@jiaozhiye/qm-design-react 1.2.0-beta.10 → 1.2.0-beta.13

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.
@@ -65,6 +65,7 @@ export declare type ITableContext = {
65
65
  setSpinning: (value: boolean) => void;
66
66
  setFullScreen: (value: boolean) => void;
67
67
  setShouldToTop: (value: boolean) => void;
68
+ setOverlay: (value: boolean) => void;
68
69
  doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string) => void;
69
70
  createTableData: (list: IRecord[]) => void;
70
71
  createGroupData: (records: IRecord[]) => IRecord[];
@@ -37,6 +37,7 @@ export declare type ITableRef = {
37
37
  shouldToTop: boolean;
38
38
  selectionRows: IRecord[];
39
39
  rowKeysMap: Map<IRowKey, number>;
40
+ isOverlay: boolean;
40
41
  isIE: boolean;
41
42
  };
42
43
  declare type IExtra = {
@@ -60,6 +61,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
60
61
  setShouldToTop: (value: boolean) => void;
61
62
  setSelectionRows: (selectKeys: IRecord[]) => void;
62
63
  setRowKeysMap: (key: IRowKey, value: number) => void;
64
+ setOverlay: (value: boolean) => void;
63
65
  clearElementStore: () => void;
64
66
  clearAllRowKeysMap: () => void;
65
67
  uid: string;
@@ -96,6 +98,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
96
98
  shouldToTop: boolean;
97
99
  selectionRows: IRecord[];
98
100
  rowKeysMap: Map<IRowKey, number>;
101
+ isOverlay: boolean;
99
102
  isIE: boolean;
100
103
  tableRef: React.MutableRefObject<ITableRef>;
101
104
  };
@@ -217,6 +217,13 @@
217
217
  .cell-fix-right {
218
218
  position: sticky;
219
219
  z-index: 2;
220
+ .gutter-overlay {
221
+ content: '';
222
+ position: absolute;
223
+ top: 0;
224
+ bottom: -1px;
225
+ background-color: @v-table-background-color;
226
+ }
220
227
  }
221
228
  .cell-fix-left-last {
222
229
  &::after {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.2.0-beta.10",
3
+ "version": "1.2.0-beta.13",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",