@ai-matrx/design-system 0.18.16 → 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 +18 -0
- package/dist/data-table/index.cjs +21 -1
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +21 -1
- package/dist/data-table/index.js.map +1 -1
- package/dist/styles.css +27 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.19
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/design-system/v0.18.18..npm/design-system/v0.18.19 -- apps/shared/design-system`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.18.18
|
|
10
|
+
|
|
11
|
+
Ships the canonical MatrxDataTable diagnostic boundary after correcting the
|
|
12
|
+
packed-artifact verifier to recognize that one intentional fixed-blue rule.
|
|
13
|
+
The global hardcoded-colour guard remains active for every other rule.
|
|
14
|
+
|
|
15
|
+
## 0.18.17
|
|
16
|
+
|
|
17
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
18
|
+
`git diff npm/design-system/v0.18.16..npm/design-system/v0.18.17 -- apps/shared/design-system`).
|
|
19
|
+
No source changes intended and no consumer action required.
|
|
20
|
+
|
|
3
21
|
## 0.18.16 — 2026-09-13
|
|
4
22
|
|
|
5
23
|
Sortable table headers now toggle directly between ascending and descending.
|
|
@@ -7265,6 +7265,25 @@ function MatrxDataTableCore({
|
|
|
7265
7265
|
...appendQuery?.scroll
|
|
7266
7266
|
});
|
|
7267
7267
|
const rootRef = (0, import_react13.useRef)(null);
|
|
7268
|
+
const setDiagnosticBoundaryRef = (0, import_react13.useCallback)((node) => {
|
|
7269
|
+
rootRef.current = node;
|
|
7270
|
+
if (!node) return;
|
|
7271
|
+
node.style.setProperty("outline", "2px solid #2563eb", "important");
|
|
7272
|
+
node.style.setProperty("outline-offset", "-2px", "important");
|
|
7273
|
+
node.style.setProperty("isolation", "isolate", "important");
|
|
7274
|
+
const position = window.getComputedStyle(node).position;
|
|
7275
|
+
if (position === "" || position === "static") {
|
|
7276
|
+
node.style.setProperty("position", "relative", "important");
|
|
7277
|
+
}
|
|
7278
|
+
const boundary = node.querySelector(":scope > [data-matrx-table-boundary]");
|
|
7279
|
+
if (!boundary) return;
|
|
7280
|
+
boundary.style.setProperty("position", "absolute", "important");
|
|
7281
|
+
boundary.style.setProperty("inset", "0", "important");
|
|
7282
|
+
boundary.style.setProperty("pointer-events", "none", "important");
|
|
7283
|
+
boundary.style.setProperty("z-index", "2147483647", "important");
|
|
7284
|
+
boundary.style.setProperty("box-sizing", "border-box", "important");
|
|
7285
|
+
boundary.style.setProperty("border", "2px solid #2563eb", "important");
|
|
7286
|
+
}, []);
|
|
7268
7287
|
useClippedContentGuard(rootRef, {
|
|
7269
7288
|
label: typeof copy === "object" && copy.listLabel ? `Table: ${copy.listLabel}` : "MatrxDataTable"
|
|
7270
7289
|
});
|
|
@@ -8132,7 +8151,7 @@ function MatrxDataTableCore({
|
|
|
8132
8151
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
8133
8152
|
"div",
|
|
8134
8153
|
{
|
|
8135
|
-
ref:
|
|
8154
|
+
ref: setDiagnosticBoundaryRef,
|
|
8136
8155
|
"data-matrx-table": true,
|
|
8137
8156
|
"data-url-state-table": urlState?.id,
|
|
8138
8157
|
className: cn(
|
|
@@ -8147,6 +8166,7 @@ function MatrxDataTableCore({
|
|
|
8147
8166
|
className
|
|
8148
8167
|
),
|
|
8149
8168
|
children: [
|
|
8169
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { "aria-hidden": "true", "data-matrx-table-boundary": true }),
|
|
8150
8170
|
notice,
|
|
8151
8171
|
savedViewError ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { role: "alert", className: "shrink-0 text-xs text-destructive", children: savedViewError }) : null,
|
|
8152
8172
|
toolbarActionError ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { role: "alert", className: "shrink-0 text-xs text-destructive", children: toolbarActionError }) : null,
|