@sustaina/shared-ui 1.70.3 → 1.70.5

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.
package/dist/index.js CHANGED
@@ -7918,7 +7918,7 @@ var ConditionLookupInput = ({
7918
7918
  field.onChange([]);
7919
7919
  onClear("value");
7920
7920
  };
7921
- return /* @__PURE__ */ jsxRuntime.jsxs(FormItem, { className: "relative w-full overflow-x-hidden", children: [
7921
+ return /* @__PURE__ */ jsxRuntime.jsxs(FormItem, { className: "relative w-full min-w-0", children: [
7922
7922
  /* @__PURE__ */ jsxRuntime.jsx(FormControl, { children: /* @__PURE__ */ jsxRuntime.jsx(
7923
7923
  LookupSelect,
7924
7924
  {
@@ -9518,7 +9518,7 @@ var useTableVirtualizer = ({
9518
9518
  virtual
9519
9519
  }) => {
9520
9520
  const rowModel = table.getRowModel().rows;
9521
- const columnsEnabled = virtual?.columns?.enabled ?? false;
9521
+ const columnsEnabled = enabled && (virtual?.columns?.enabled ?? true);
9522
9522
  const centerColumns = table.getCenterVisibleLeafColumns();
9523
9523
  const getRowVirtualItemKey = React.useCallback((index) => rowModel[index]?.id ?? index, [rowModel]);
9524
9524
  const getColumnVirtualItemKey = React.useCallback(