@ai-matrx/design-system 0.19.11 → 0.19.13

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.
@@ -2672,15 +2672,15 @@ var ALCHEMY_GLYPH_PATHS = {
2672
2672
  portal: ["M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M8 12h8m-3-3 3 3-3 3"],
2673
2673
  "copy-transform": ["M8 7V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v8M13 21H5a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v3m-5 4h11m-3-3 3 3-3 3"]
2674
2674
  };
2675
- var ALCHEMY_GLYPH_VIEWBOX = { portal: "2 2 20 20", "copy-transform": "0 0 24 24" };
2676
- var svg = (paths, viewBox) => `<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="${viewBox}" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">${paths.map((d) => `<path d="${d}"/>`).join("")}</svg>`;
2675
+ var ALCHEMY_GLYPH_VIEWBOX = { portal: "0 0 24 24", "copy-transform": "0 0 24 24" };
2676
+ var svg = (paths, viewBox) => `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="${viewBox}" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">${paths.map((d) => `<path d="${d}"/>`).join("")}</svg>`;
2677
2677
  var ALCHEMY_GLYPH_SVG = svg(ALCHEMY_GLYPH_PATHS.portal, ALCHEMY_GLYPH_VIEWBOX.portal);
2678
2678
  var ALCHEMY_COPY_TRANSFORM_SVG = svg(ALCHEMY_GLYPH_PATHS["copy-transform"], ALCHEMY_GLYPH_VIEWBOX["copy-transform"]);
2679
2679
 
2680
2680
  // src/content-transfer/index.tsx
2681
2681
  var import_jsx_runtime23 = require("react/jsx-runtime");
2682
2682
  function AlchemyGlyph({ icon = "portal", ...props }) {
2683
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { width: "22", height: "22", viewBox: ALCHEMY_GLYPH_VIEWBOX[icon], fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...props, children: ALCHEMY_GLYPH_PATHS[icon].map((d) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("path", { d }, d)) });
2683
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { width: "18", height: "18", viewBox: ALCHEMY_GLYPH_VIEWBOX[icon], fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...props, children: ALCHEMY_GLYPH_PATHS[icon].map((d) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("path", { d }, d)) });
2684
2684
  }
2685
2685
  var CapabilityContext = React13.createContext({});
2686
2686
  var useContentTransferCapabilities = () => React13.useContext(CapabilityContext);
@@ -8345,10 +8345,7 @@ function MatrxDataTableCore({
8345
8345
  ...appendScrollPolicy?.mode === "scroll" && appendScrollPolicy.intentTimeoutMs !== void 0 ? { intentTimeoutMs: appendScrollPolicy.intentTimeoutMs } : {}
8346
8346
  });
8347
8347
  const rootRef = (0, import_react17.useRef)(null);
8348
- const actionDiagnosticObserver = (0, import_react17.useRef)(null);
8349
8348
  const setDiagnosticBoundaryRef = (0, import_react17.useCallback)((node) => {
8350
- actionDiagnosticObserver.current?.disconnect();
8351
- actionDiagnosticObserver.current = null;
8352
8349
  rootRef.current = node;
8353
8350
  if (!node) return;
8354
8351
  node.style.setProperty("outline", "2px solid #2563eb", "important");
@@ -8366,22 +8363,6 @@ function MatrxDataTableCore({
8366
8363
  boundary.style.setProperty("z-index", "2147483647", "important");
8367
8364
  boundary.style.setProperty("box-sizing", "border-box", "important");
8368
8365
  boundary.style.setProperty("border", "2px solid #2563eb", "important");
8369
- const paintActionDiagnostics = () => {
8370
- const paint = (selector, color) => {
8371
- for (const element of Array.from(node.querySelectorAll(selector))) {
8372
- if (element.closest("[data-matrx-table]") !== node) continue;
8373
- element.style.setProperty("outline", `1px solid ${color}`, "important");
8374
- element.style.setProperty("outline-offset", "-1px", "important");
8375
- }
8376
- };
8377
- paint("[data-matrx-table-row-action-cell], [data-matrx-table-row-actions]", "#16a34a");
8378
- paint("[data-matrx-table-row-actions] :is(button, a)", "#f97316");
8379
- paint("[data-matrx-table-row-actions] .matrx-tap-pill", "#a855f7");
8380
- paint("[data-matrx-table-row-actions] svg", "#ef4444");
8381
- };
8382
- paintActionDiagnostics();
8383
- actionDiagnosticObserver.current = new MutationObserver(paintActionDiagnostics);
8384
- actionDiagnosticObserver.current.observe(node, { childList: true, subtree: true });
8385
8366
  }, []);
8386
8367
  useClippedContentGuard(rootRef, {
8387
8368
  label: typeof copy === "object" && copy.listLabel ? `Table: ${copy.listLabel}` : "MatrxDataTable"
@@ -10052,7 +10033,7 @@ function MatrxDataTableCore({
10052
10033
  "th",
10053
10034
  {
10054
10035
  "data-matrx-table-actions-column": true,
10055
- className: "h-9 w-px text-right align-middle text-xs font-semibold uppercase tracking-wide text-muted-foreground",
10036
+ className: "h-9 w-px px-2 text-right align-middle text-xs font-semibold uppercase tracking-wide text-muted-foreground",
10056
10037
  style: fixedUtilityWidth(fixedTableGeometry?.actionsWidth),
10057
10038
  children: "Actions"
10058
10039
  }