nntc-ui 0.0.67 → 0.0.68

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.
Files changed (2) hide show
  1. package/index.js +10 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2987,7 +2987,15 @@ var DefaultColumn = {
2987
2987
  } : meta?.onClick && original[id]?.payload ? () => meta?.onClick?.(original[id]?.payload ?? {}) : void 0,
2988
2988
  children: [
2989
2989
  /* @__PURE__ */ jsx30("span", { className: viewSpan, children: shownValue }),
2990
- showModal && /* @__PURE__ */ jsx30(Modal, { open: showModal, onClose: () => closeModalRef.current?.(), children: /* @__PURE__ */ jsx30(Surface, { type: "panel", children: /* @__PURE__ */ jsx30("div", { className: modalContent, children: shownValue }) }) })
2990
+ showModal && /* @__PURE__ */ jsx30(
2991
+ Modal,
2992
+ {
2993
+ root: tableMeta?.tableContainerRef?.current,
2994
+ open: showModal,
2995
+ onClose: () => closeModalRef.current?.(),
2996
+ children: /* @__PURE__ */ jsx30(Surface, { type: "panel", children: /* @__PURE__ */ jsx30("div", { className: modalContent, children: shownValue }) })
2997
+ }
2998
+ )
2991
2999
  ]
2992
3000
  }
2993
3001
  ) });
@@ -3594,6 +3602,7 @@ var VirtualTable = forwardRef8((props, ref) => {
3594
3602
  updateData: (rowIndex, columnId, value, original) => {
3595
3603
  onChangeCell?.(rowIndex, columnId, value, original);
3596
3604
  },
3605
+ tableContainerRef,
3597
3606
  additionalColumnsViews
3598
3607
  }
3599
3608
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nntc-ui",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "author": "NNTC",
5
5
  "description": "React UI-kit for NNTC",
6
6
  "type": "module",