@linzjs/step-ag-grid 17.4.8 → 17.4.10

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.
@@ -3268,11 +3268,11 @@ function styleInject(css, ref) {
3268
3268
  }
3269
3269
  }
3270
3270
 
3271
- var css_248z$2 = ".helpText{color:#6b6966;font-size:.75rem;font-weight:400}";
3271
+ var css_248z$2 = ".FormError-helpText{color:#6b6966;font-size:.75rem;font-weight:400}";
3272
3272
  styleInject(css_248z$2);
3273
3273
 
3274
3274
  const FormError = (props) => {
3275
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [props.error && (jsxRuntime.jsx("span", { className: "LuiTextInput-error", style: { paddingLeft: 0 }, children: props.error })), props.helpText && !props.error && jsxRuntime.jsx("span", { className: "helpText", children: props.helpText })] }));
3275
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [props.error && (jsxRuntime.jsx("span", { className: "LuiTextInput-error", style: { paddingLeft: 0 }, children: props.error })), props.helpText && !props.error && jsxRuntime.jsx("span", { className: "FormError-helpText", children: props.helpText })] }));
3276
3276
  };
3277
3277
 
3278
3278
  function escapeStringRegexp(string) {
@@ -3648,11 +3648,11 @@ const GridFormDropDown = (props) => {
3648
3648
  })] }) })] }));
3649
3649
  };
3650
3650
 
3651
- var css_248z$1 = ".LuiTextInput{margin-bottom:0}.LuiTextInput-formatted{color:#beb9b4;line-height:48px;position:absolute;right:14px;top:0}";
3651
+ var css_248z$1 = ".LuiTextInput.GridLuiTextInput{margin-bottom:0}.LuiTextInput-formatted{color:#beb9b4;line-height:48px;position:absolute;right:14px;top:0}";
3652
3652
  styleInject(css_248z$1);
3653
3653
 
3654
3654
  const TextInputFormatted = (props) => {
3655
- return (jsxRuntime.jsxs("div", { className: clsx("LuiTextInput Grid-popoverContainer", props.error && "hasError", props.className), children: [jsxRuntime.jsxs("span", { className: "LuiTextInput-inputWrapper", children: [jsxRuntime.jsx("input", { type: "text", spellCheck: true, defaultValue: props.value, ...lodashEs.omit(props, ["error", "value", "helpText", "formatted", "className", "allowTabToSave"]), className: "LuiTextInput-input", onMouseEnter: (e) => {
3655
+ return (jsxRuntime.jsxs("div", { className: clsx("LuiTextInput GridLuiTextInput Grid-popoverContainer", props.error && "hasError", props.className), children: [jsxRuntime.jsxs("span", { className: "LuiTextInput-inputWrapper", children: [jsxRuntime.jsx("input", { type: "text", spellCheck: true, defaultValue: props.value, ...lodashEs.omit(props, ["error", "value", "helpText", "formatted", "className", "allowTabToSave"]), className: "LuiTextInput-input", onMouseEnter: (e) => {
3656
3656
  e.currentTarget.focus();
3657
3657
  props.onMouseEnter && props.onMouseEnter(e);
3658
3658
  }, "data-allowtabtosave": props.allowTabToSave }), jsxRuntime.jsx("span", { className: "LuiTextInput-formatted", children: props.formatted })] }), jsxRuntime.jsx(FormError, { error: props.error, helpText: props.helpText })] }));
@@ -25597,9 +25597,13 @@ const findRow = async (rowId, within) => {
25597
25597
  let row;
25598
25598
  await act(async () => {
25599
25599
  row = await findQuick({ tagName: `.ag-center-cols-container div[row-id='${rowId}']:not(:empty)` }, within);
25600
- const leftCols = await findQuick({ tagName: `.ag-pinned-left-cols-container div[row-id='${rowId}']` }, within);
25601
- const rightCols = await findQuick({ tagName: `.ag-pinned-right-cols-container div[row-id='${rowId}']` }, within);
25602
- const combineChildren = [...leftCols.children, ...row.children, ...rightCols.children];
25600
+ let combineChildren = [...row.children];
25601
+ const leftCols = queryQuick({ tagName: `.ag-pinned-left-cols-container div[row-id='${rowId}']` }, within);
25602
+ if (leftCols)
25603
+ combineChildren = [...leftCols.children, ...combineChildren];
25604
+ const rightCols = queryQuick({ tagName: `.ag-pinned-right-cols-container div[row-id='${rowId}']` }, within);
25605
+ if (rightCols)
25606
+ combineChildren = [...rightCols.children, ...combineChildren];
25603
25607
  row.replaceChildren(...combineChildren);
25604
25608
  });
25605
25609
  return row;