@ai-matrx/design-system 0.18.16 → 0.18.18
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/data-table/index.js
CHANGED
|
@@ -7271,6 +7271,12 @@ function MatrxDataTableCore({
|
|
|
7271
7271
|
...appendQuery?.scroll
|
|
7272
7272
|
});
|
|
7273
7273
|
const rootRef = useRef6(null);
|
|
7274
|
+
const setDiagnosticBoundaryRef = useCallback4((node) => {
|
|
7275
|
+
rootRef.current = node;
|
|
7276
|
+
if (!node) return;
|
|
7277
|
+
node.style.setProperty("outline", "2px solid #2563eb", "important");
|
|
7278
|
+
node.style.setProperty("outline-offset", "-2px", "important");
|
|
7279
|
+
}, []);
|
|
7274
7280
|
useClippedContentGuard(rootRef, {
|
|
7275
7281
|
label: typeof copy === "object" && copy.listLabel ? `Table: ${copy.listLabel}` : "MatrxDataTable"
|
|
7276
7282
|
});
|
|
@@ -8138,7 +8144,7 @@ function MatrxDataTableCore({
|
|
|
8138
8144
|
/* @__PURE__ */ jsxs26(
|
|
8139
8145
|
"div",
|
|
8140
8146
|
{
|
|
8141
|
-
ref:
|
|
8147
|
+
ref: setDiagnosticBoundaryRef,
|
|
8142
8148
|
"data-matrx-table": true,
|
|
8143
8149
|
"data-url-state-table": urlState?.id,
|
|
8144
8150
|
className: cn(
|