@linzjs/step-ag-grid 7.19.0 → 7.19.2

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.
@@ -3983,7 +3983,7 @@ var GridFormPopoverMenu = function (props) {
3983
3983
  * Popout burger menu
3984
3984
  */
3985
3985
  var GridPopoverMenu = function (colDef, custom) {
3986
- return GridCell(__assign(__assign({ maxWidth: 40, editable: colDef.editable != null ? colDef.editable : true, cellStyle: { justifyContent: "center" }, cellRenderer: GridRenderPopoutMenuCell }, colDef), { cellRendererParams: {
3986
+ return GridCell(__assign(__assign({ minWidth: 40, maxWidth: 40, width: 40, editable: colDef.editable != null ? colDef.editable : true, cellStyle: { justifyContent: "center" }, cellRenderer: GridRenderPopoutMenuCell }, colDef), { cellRendererParams: {
3987
3987
  // Menus open on single click, this parameter is picked up in Grid.tsx
3988
3988
  singleClickEdit: true
3989
3989
  } }), __assign({ editor: GridFormPopoverMenu }, custom));
@@ -24557,14 +24557,26 @@ var deselectRow = function (rowId, within) { return __awaiter(void 0, void 0, vo
24557
24557
  return [2 /*return*/, _selectRow("deselect", rowId, within)];
24558
24558
  }); }); };
24559
24559
  var findCell = function (rowId, colId, within) { return __awaiter(void 0, void 0, void 0, function () {
24560
- var row;
24560
+ var cell;
24561
24561
  return __generator(this, function (_a) {
24562
24562
  switch (_a.label) {
24563
- case 0: return [4 /*yield*/, findRow(rowId, within)];
24563
+ case 0: return [4 /*yield*/, act(function () { return __awaiter(void 0, void 0, void 0, function () {
24564
+ var row;
24565
+ return __generator(this, function (_a) {
24566
+ switch (_a.label) {
24567
+ case 0: return [4 /*yield*/, findRow(rowId, within)];
24568
+ case 1:
24569
+ row = _a.sent();
24570
+ return [4 /*yield*/, findQuick({ tagName: "[col-id='".concat(colId, "']") }, row)];
24571
+ case 2:
24572
+ cell = _a.sent();
24573
+ return [2 /*return*/];
24574
+ }
24575
+ });
24576
+ }); })];
24564
24577
  case 1:
24565
- row = _a.sent();
24566
- return [4 /*yield*/, findQuick({ tagName: "[col-id='".concat(colId, "']") }, row)];
24567
- case 2: return [2 /*return*/, _a.sent()];
24578
+ _a.sent();
24579
+ return [2 /*return*/, cell];
24568
24580
  }
24569
24581
  });
24570
24582
  }); };
@@ -24798,7 +24810,10 @@ var typeInput = function (value, filter) { return __awaiter(void 0, void 0, void
24798
24810
  case 2:
24799
24811
  input = _a.sent();
24800
24812
  userEvent.clear(input);
24801
- userEvent.type(input, value);
24813
+ //'typing' an empty string will cause a console error and it's also unnecessary after the previous clear call
24814
+ if (value.length > 0) {
24815
+ userEvent.type(input, value);
24816
+ }
24802
24817
  return [2 /*return*/];
24803
24818
  }
24804
24819
  });