@ai-matrx/design-system 0.19.4 → 0.19.6

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.
@@ -2671,14 +2671,15 @@ var ALCHEMY_GLYPH_PATHS = {
2671
2671
  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"],
2672
2672
  "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"]
2673
2673
  };
2674
- var svg = (paths) => `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" 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_SVG = svg(ALCHEMY_GLYPH_PATHS.portal);
2676
- var ALCHEMY_COPY_TRANSFORM_SVG = svg(ALCHEMY_GLYPH_PATHS["copy-transform"]);
2674
+ var ALCHEMY_GLYPH_VIEWBOX = { portal: "2 2 20 20", "copy-transform": "0 0 24 24" };
2675
+ var svg = (paths, viewBox) => `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="${viewBox}" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">${paths.map((d) => `<path d="${d}"/>`).join("")}</svg>`;
2676
+ var ALCHEMY_GLYPH_SVG = svg(ALCHEMY_GLYPH_PATHS.portal, ALCHEMY_GLYPH_VIEWBOX.portal);
2677
+ var ALCHEMY_COPY_TRANSFORM_SVG = svg(ALCHEMY_GLYPH_PATHS["copy-transform"], ALCHEMY_GLYPH_VIEWBOX["copy-transform"]);
2677
2678
 
2678
2679
  // src/content-transfer/index.tsx
2679
2680
  var import_jsx_runtime23 = require("react/jsx-runtime");
2680
2681
  function AlchemyGlyph({ icon = "portal", ...props }) {
2681
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { viewBox: "0 0 24 24", 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)) });
2682
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("svg", { 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)) });
2682
2683
  }
2683
2684
  var CapabilityContext = React13.createContext({});
2684
2685
  var useContentTransferCapabilities = () => React13.useContext(CapabilityContext);
@@ -10331,16 +10332,16 @@ function MatrxDataTableCore({
10331
10332
  }
10332
10333
  ) : null,
10333
10334
  /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "min-w-0 flex-1", children: [
10334
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "truncate font-medium text-foreground", children: isLoading ? "Loading rows\u2026" : `${data.length.toLocaleString()} loaded${appendQuery.pagination.totalItems === void 0 ? "" : ` of ${appendQuery.pagination.totalItems.toLocaleString()}`}` }),
10335
- appendQuery.pagination.sourceUntil ? /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("p", { className: "hidden truncate sm:block", children: [
10335
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "font-medium text-foreground", children: isLoading ? "Loading rows\u2026" : `${data.length.toLocaleString()} loaded${appendQuery.pagination.totalItems === void 0 ? "" : ` of ${appendQuery.pagination.totalItems.toLocaleString()}`}` }),
10336
+ appendQuery.pagination.sourceUntil ? /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("p", { children: [
10336
10337
  "Source fixed through",
10337
10338
  " ",
10338
10339
  new Date(appendQuery.pagination.sourceUntil).toLocaleString(),
10339
10340
  "."
10340
10341
  ] }) : null,
10341
- !isLoading && !isFetching && !appendQuery.pagination.loadAll?.isLoading && !scrollPagination.error && !appendQuery.pagination.hasNextPage && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "hidden truncate sm:block", children: "All source rows are loaded." }) : appendUsesLocalProcessing ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "hidden truncate sm:block", children: "Local search and filters cover loaded rows." }) : null,
10342
- scrollPagination.error ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { role: "alert", className: "truncate text-destructive", children: scrollPagination.error.message }) : null,
10343
- appendScrollPolicy?.mode === "suspended" ? /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("p", { role: "status", className: "truncate", children: [
10342
+ !isLoading && !isFetching && !appendQuery.pagination.loadAll?.isLoading && !scrollPagination.error && !appendQuery.pagination.hasNextPage && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { children: "All source rows are loaded." }) : appendUsesLocalProcessing ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { children: "Local search and filters cover loaded rows." }) : null,
10343
+ scrollPagination.error ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { role: "alert", className: "text-destructive", children: scrollPagination.error.message }) : null,
10344
+ appendScrollPolicy?.mode === "suspended" ? /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("p", { role: "status", children: [
10344
10345
  appendScrollPolicy.reason,
10345
10346
  " Load more remains available."
10346
10347
  ] }) : null
@@ -10408,7 +10409,7 @@ function MatrxDataTableCore({
10408
10409
  children: "Load all"
10409
10410
  }
10410
10411
  ) : null
10411
- ] }) : !isLoading && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "shrink-0 truncate px-3 text-xs text-muted-foreground sm:text-sm", children: "All rows loaded" }) : null
10412
+ ] }) : !isLoading && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "min-w-0 max-w-full break-words whitespace-normal px-3 text-xs text-muted-foreground sm:text-sm", children: "All rows loaded" }) : null
10412
10413
  ]
10413
10414
  }
10414
10415
  ) : !hidePagination && totalItems > 0 ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(