@ai-matrx/design-system 0.18.18 → 0.18.19
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/CHANGELOG.md +6 -0
- package/dist/data-table/index.cjs +14 -0
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +14 -0
- package/dist/data-table/index.js.map +1 -1
- package/dist/styles.css +20 -0
- package/package.json +1 -1
package/dist/data-table/index.js
CHANGED
|
@@ -7276,6 +7276,19 @@ function MatrxDataTableCore({
|
|
|
7276
7276
|
if (!node) return;
|
|
7277
7277
|
node.style.setProperty("outline", "2px solid #2563eb", "important");
|
|
7278
7278
|
node.style.setProperty("outline-offset", "-2px", "important");
|
|
7279
|
+
node.style.setProperty("isolation", "isolate", "important");
|
|
7280
|
+
const position = window.getComputedStyle(node).position;
|
|
7281
|
+
if (position === "" || position === "static") {
|
|
7282
|
+
node.style.setProperty("position", "relative", "important");
|
|
7283
|
+
}
|
|
7284
|
+
const boundary = node.querySelector(":scope > [data-matrx-table-boundary]");
|
|
7285
|
+
if (!boundary) return;
|
|
7286
|
+
boundary.style.setProperty("position", "absolute", "important");
|
|
7287
|
+
boundary.style.setProperty("inset", "0", "important");
|
|
7288
|
+
boundary.style.setProperty("pointer-events", "none", "important");
|
|
7289
|
+
boundary.style.setProperty("z-index", "2147483647", "important");
|
|
7290
|
+
boundary.style.setProperty("box-sizing", "border-box", "important");
|
|
7291
|
+
boundary.style.setProperty("border", "2px solid #2563eb", "important");
|
|
7279
7292
|
}, []);
|
|
7280
7293
|
useClippedContentGuard(rootRef, {
|
|
7281
7294
|
label: typeof copy === "object" && copy.listLabel ? `Table: ${copy.listLabel}` : "MatrxDataTable"
|
|
@@ -8159,6 +8172,7 @@ function MatrxDataTableCore({
|
|
|
8159
8172
|
className
|
|
8160
8173
|
),
|
|
8161
8174
|
children: [
|
|
8175
|
+
/* @__PURE__ */ jsx35("span", { "aria-hidden": "true", "data-matrx-table-boundary": true }),
|
|
8162
8176
|
notice,
|
|
8163
8177
|
savedViewError ? /* @__PURE__ */ jsx35("p", { role: "alert", className: "shrink-0 text-xs text-destructive", children: savedViewError }) : null,
|
|
8164
8178
|
toolbarActionError ? /* @__PURE__ */ jsx35("p", { role: "alert", className: "shrink-0 text-xs text-destructive", children: toolbarActionError }) : null,
|