@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.
@@ -2666,14 +2666,15 @@ var ALCHEMY_GLYPH_PATHS = {
2666
2666
  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"],
2667
2667
  "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"]
2668
2668
  };
2669
- 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>`;
2670
- var ALCHEMY_GLYPH_SVG = svg(ALCHEMY_GLYPH_PATHS.portal);
2671
- var ALCHEMY_COPY_TRANSFORM_SVG = svg(ALCHEMY_GLYPH_PATHS["copy-transform"]);
2669
+ var ALCHEMY_GLYPH_VIEWBOX = { portal: "2 2 20 20", "copy-transform": "0 0 24 24" };
2670
+ 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>`;
2671
+ var ALCHEMY_GLYPH_SVG = svg(ALCHEMY_GLYPH_PATHS.portal, ALCHEMY_GLYPH_VIEWBOX.portal);
2672
+ var ALCHEMY_COPY_TRANSFORM_SVG = svg(ALCHEMY_GLYPH_PATHS["copy-transform"], ALCHEMY_GLYPH_VIEWBOX["copy-transform"]);
2672
2673
 
2673
2674
  // src/content-transfer/index.tsx
2674
2675
  import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
2675
2676
  function AlchemyGlyph({ icon = "portal", ...props }) {
2676
- return /* @__PURE__ */ jsx23("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__ */ jsx23("path", { d }, d)) });
2677
+ return /* @__PURE__ */ jsx23("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__ */ jsx23("path", { d }, d)) });
2677
2678
  }
2678
2679
  var CapabilityContext = React13.createContext({});
2679
2680
  var useContentTransferCapabilities = () => React13.useContext(CapabilityContext);
@@ -10347,16 +10348,16 @@ function MatrxDataTableCore({
10347
10348
  }
10348
10349
  ) : null,
10349
10350
  /* @__PURE__ */ jsxs28("div", { className: "min-w-0 flex-1", children: [
10350
- /* @__PURE__ */ jsx38("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()}`}` }),
10351
- appendQuery.pagination.sourceUntil ? /* @__PURE__ */ jsxs28("p", { className: "hidden truncate sm:block", children: [
10351
+ /* @__PURE__ */ jsx38("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()}`}` }),
10352
+ appendQuery.pagination.sourceUntil ? /* @__PURE__ */ jsxs28("p", { children: [
10352
10353
  "Source fixed through",
10353
10354
  " ",
10354
10355
  new Date(appendQuery.pagination.sourceUntil).toLocaleString(),
10355
10356
  "."
10356
10357
  ] }) : null,
10357
- !isLoading && !isFetching && !appendQuery.pagination.loadAll?.isLoading && !scrollPagination.error && !appendQuery.pagination.hasNextPage && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ jsx38("p", { className: "hidden truncate sm:block", children: "All source rows are loaded." }) : appendUsesLocalProcessing ? /* @__PURE__ */ jsx38("p", { className: "hidden truncate sm:block", children: "Local search and filters cover loaded rows." }) : null,
10358
- scrollPagination.error ? /* @__PURE__ */ jsx38("p", { role: "alert", className: "truncate text-destructive", children: scrollPagination.error.message }) : null,
10359
- appendScrollPolicy?.mode === "suspended" ? /* @__PURE__ */ jsxs28("p", { role: "status", className: "truncate", children: [
10358
+ !isLoading && !isFetching && !appendQuery.pagination.loadAll?.isLoading && !scrollPagination.error && !appendQuery.pagination.hasNextPage && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ jsx38("p", { children: "All source rows are loaded." }) : appendUsesLocalProcessing ? /* @__PURE__ */ jsx38("p", { children: "Local search and filters cover loaded rows." }) : null,
10359
+ scrollPagination.error ? /* @__PURE__ */ jsx38("p", { role: "alert", className: "text-destructive", children: scrollPagination.error.message }) : null,
10360
+ appendScrollPolicy?.mode === "suspended" ? /* @__PURE__ */ jsxs28("p", { role: "status", children: [
10360
10361
  appendScrollPolicy.reason,
10361
10362
  " Load more remains available."
10362
10363
  ] }) : null
@@ -10424,7 +10425,7 @@ function MatrxDataTableCore({
10424
10425
  children: "Load all"
10425
10426
  }
10426
10427
  ) : null
10427
- ] }) : !isLoading && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ jsx38("span", { className: "shrink-0 truncate px-3 text-xs text-muted-foreground sm:text-sm", children: "All rows loaded" }) : null
10428
+ ] }) : !isLoading && appendQuery.pagination.totalItems !== void 0 && data.length === appendQuery.pagination.totalItems ? /* @__PURE__ */ jsx38("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
10428
10429
  ]
10429
10430
  }
10430
10431
  ) : !hidePagination && totalItems > 0 ? /* @__PURE__ */ jsx38("div", { className: "shrink-0", children: /* @__PURE__ */ jsx38(