@linzjs/step-ag-grid 7.3.0 → 7.3.1

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.
@@ -3380,7 +3380,7 @@ var GridFormDropDown = function (props) {
3380
3380
  return [2 /*return*/];
3381
3381
  });
3382
3382
  }); }
3383
- } }, { children: item.subComponent && (jsx(item.subComponent, {}, "".concat(fieldToString(field), "-").concat(index, "_subcomponent_inner"))) }))); } }), "".concat(item.label, "_subcomponent")))] }, "menu-wrapper-".concat(index)));
3383
+ } }, { children: item.subComponent && (jsx("div", __assign({ className: "subComponent" }, { children: jsx(item.subComponent, {}, "".concat(fieldToString(field), "-").concat(index, "_subcomponent_inner")) }))) }))); } }), "".concat(item.label, "_subcomponent")))] }, "menu-wrapper-".concat(index)));
3384
3384
  })] }) }))] }));
3385
3385
  };
3386
3386
 
@@ -3751,7 +3751,7 @@ var MenuSubComponent = function (props) {
3751
3751
  subComponentIsValid["".concat(item.value)] = valid;
3752
3752
  },
3753
3753
  triggerSave: triggerSave
3754
- } }, { children: jsx(item.subComponent, {}) })));
3754
+ } }, { children: jsx("div", __assign({ className: "subComponent" }, { children: jsx(item.subComponent, {}) })) })));
3755
3755
  } }), "".concat(item.value, "_subcomponent")));
3756
3756
  };
3757
3757
 
@@ -3897,7 +3897,7 @@ var GridFormPopoverMenu = function (props) {
3897
3897
  subComponentIsValid.current = valid;
3898
3898
  },
3899
3899
  triggerSave: triggerSave
3900
- } }, { children: jsx(item.subComponent, {}) })));
3900
+ } }, { children: jsx("div", __assign({ className: "subComponent" }, { children: jsx(item.subComponent, {}) })) })));
3901
3901
  } }), "".concat(item.label, "_subcomponent")))] }, "".concat(item.label))));
3902
3902
  }) }) })));
3903
3903
  };
@@ -4319,7 +4319,7 @@ var GridFormSubComponentTextArea = function (props) {
4319
4319
  useEffect(function () {
4320
4320
  setValid(value != null && invalid() == null);
4321
4321
  }, [setValid, invalid, value]);
4322
- return (jsx("div", __assign({ className: clsx("FreeTextInput LuiDeprecatedForms", props.className) }, { children: jsx(TextAreaInput, { className: "free-text-input", value: value, onChange: function (e) { return setValue(e.target.value); }, error: invalid(), helpText: helpText, autoFocus: true, placeholder: props.placeholder }) })));
4322
+ return (jsx("div", __assign({ className: clsx("FreeTextInput", props.className) }, { children: jsx(TextAreaInput, { className: "free-text-input", value: value, onChange: function (e) { return setValue(e.target.value); }, error: invalid(), helpText: helpText, autoFocus: true, placeholder: props.placeholder }) })));
4323
4323
  };
4324
4324
 
4325
4325
  var css_248z = ".ActionButton{align-items:center;display:flex}.ActionButton-minimal{padding-right:38px!important}.ActionButton .LuiIcon{margin:0 4px!important}.ActionButton-minimalArea{position:relative}.ActionButton-minimalAreaDisplay{position:absolute}.ActionButton-minimalAreaExpand{visibility:hidden}.ActionButton-inProgress{background-color:#e2f3f7!important;color:#007198!important;cursor:progress}.ActionButton-inProgress svg *{fill:#0000!important}.ActionButton-fill{justify-content:center;width:100%}";
@@ -24453,14 +24453,14 @@ var editCell = function (rowId, colId, within) { return __awaiter(void 0, void 0
24453
24453
  case 1:
24454
24454
  cell = _a.sent();
24455
24455
  userEvent.dblClick(cell);
24456
- return [4 /*yield*/, findOpenMenu()];
24457
- case 2:
24458
- _a.sent();
24459
24456
  return [2 /*return*/];
24460
24457
  }
24461
24458
  });
24462
24459
  }); })];
24463
24460
  case 1:
24461
+ _a.sent();
24462
+ return [4 /*yield*/, findOpenMenu()];
24463
+ case 2:
24464
24464
  _a.sent();
24465
24465
  return [2 /*return*/];
24466
24466
  }
@@ -24501,7 +24501,7 @@ var findMenuOption = function (menuOptionText) { return __awaiter(void 0, void 0
24501
24501
  return [2 /*return*/, menuOption];
24502
24502
  }
24503
24503
  });
24504
- }); })];
24504
+ }); }, { timeout: 10000 })];
24505
24505
  case 1: return [2 /*return*/, _a.sent()];
24506
24506
  }
24507
24507
  });
@@ -24533,8 +24533,11 @@ var openAndClickMenuOption = function (rowId, colId, menuOptionText, within) { r
24533
24533
  case 0: return [4 /*yield*/, editCell(rowId, colId, within)];
24534
24534
  case 1:
24535
24535
  _a.sent();
24536
- return [4 /*yield*/, clickMenuOption(menuOptionText)];
24536
+ return [4 /*yield*/, wait$2(100)];
24537
24537
  case 2:
24538
+ _a.sent();
24539
+ return [4 /*yield*/, clickMenuOption(menuOptionText)];
24540
+ case 3:
24538
24541
  _a.sent();
24539
24542
  return [2 /*return*/];
24540
24543
  }
@@ -24587,7 +24590,7 @@ var typeOtherInput = function (value) { return __awaiter(void 0, void 0, void 0,
24587
24590
  case 0: return [4 /*yield*/, findOpenMenu()];
24588
24591
  case 1:
24589
24592
  openMenu = _a.sent();
24590
- return [4 /*yield*/, findQuick({ tagName: "input[type='text']" }, openMenu)];
24593
+ return [4 /*yield*/, findQuick({ classes: ".subComponent", child: { tagName: "input[type='text']" } }, openMenu)];
24591
24594
  case 2:
24592
24595
  otherInput = _a.sent();
24593
24596
  userEvent.type(otherInput, value);
@@ -24602,7 +24605,7 @@ var typeOtherTextArea = function (value) { return __awaiter(void 0, void 0, void
24602
24605
  case 0: return [4 /*yield*/, findOpenMenu()];
24603
24606
  case 1:
24604
24607
  openMenu = _a.sent();
24605
- return [4 /*yield*/, findQuick({ tagName: "textarea" }, openMenu)];
24608
+ return [4 /*yield*/, findQuick({ classes: ".subComponent", child: { tagName: "textarea" } }, openMenu)];
24606
24609
  case 2:
24607
24610
  otherTextArea = _a.sent();
24608
24611
  userEvent.type(otherTextArea, value);