@zhenliang/sheet 0.1.69 → 0.1.71

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.
@@ -166,9 +166,6 @@ var Cell = function Cell(props) {
166
166
  left: left,
167
167
  right: right
168
168
  };
169
- if (cell.col !== undefined && cell.col < 0 && cell.fixed === 'left') {
170
- obj.visibility = 'collapse';
171
- }
172
169
  return obj;
173
170
  }, [cellFixedInfo, cell]);
174
171
  return /*#__PURE__*/_jsx(CellRenderer, {
@@ -107,7 +107,7 @@ span.harvest-sheet-container:focus {
107
107
  z-index: 3;
108
108
  top: 0;
109
109
  bottom: -1px;
110
- right: 0px;
110
+ right: 0;
111
111
  border-left: 1px solid var(--cell-border-color);
112
112
  pointer-events: none;
113
113
  transform: translate(100%);
@@ -181,7 +181,9 @@ span.harvest-sheet-container:focus {
181
181
  &.read-only {
182
182
  // border-right: 1px solid var(--cell-title-background-color);
183
183
  }
184
-
184
+ &.sheet-row-cursor {
185
+ border: none;
186
+ }
185
187
  // position: relative !important;
186
188
  }
187
189
 
@@ -198,6 +200,15 @@ span.harvest-sheet-container:focus {
198
200
 
199
201
  .harvest-sheet-container .harvest-sheet .cell-title.sheet-control {
200
202
  // border-right: 1px solid var(--cell-title-background-color);
203
+ &::before {
204
+ position: absolute;
205
+ top: 0;
206
+ bottom: 0;
207
+ left: -1px;
208
+ border-left: 1px solid var(--cell-border-color);
209
+ content: '';
210
+ pointer-events: none;
211
+ }
201
212
  &::after {
202
213
  position: absolute;
203
214
  top: 0;
@@ -149,7 +149,7 @@ export var DraggableShell = function DraggableShell(_ref) {
149
149
  if (e.nativeEvent.offsetX <= target.offsetWidth - 8) {
150
150
  var _item$titleConfig5;
151
151
  eventBus.emit('col-select', {
152
- col: hasControl ? index + 1 : index,
152
+ col: positionIndex,
153
153
  colSpan: (_item$titleConfig5 = item.titleConfig) === null || _item$titleConfig5 === void 0 ? void 0 : _item$titleConfig5.colSpan
154
154
  });
155
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhenliang/sheet",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",