@ai-matrx/design-system 0.19.4 → 0.19.5

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.
@@ -10347,16 +10347,16 @@ function MatrxDataTableCore({
10347
10347
  }
10348
10348
  ) : null,
10349
10349
  /* @__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: [
10350
+ /* @__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()}`}` }),
10351
+ appendQuery.pagination.sourceUntil ? /* @__PURE__ */ jsxs28("p", { children: [
10352
10352
  "Source fixed through",
10353
10353
  " ",
10354
10354
  new Date(appendQuery.pagination.sourceUntil).toLocaleString(),
10355
10355
  "."
10356
10356
  ] }) : 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: [
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", { children: "All source rows are loaded." }) : appendUsesLocalProcessing ? /* @__PURE__ */ jsx38("p", { children: "Local search and filters cover loaded rows." }) : null,
10358
+ scrollPagination.error ? /* @__PURE__ */ jsx38("p", { role: "alert", className: "text-destructive", children: scrollPagination.error.message }) : null,
10359
+ appendScrollPolicy?.mode === "suspended" ? /* @__PURE__ */ jsxs28("p", { role: "status", children: [
10360
10360
  appendScrollPolicy.reason,
10361
10361
  " Load more remains available."
10362
10362
  ] }) : null
@@ -10424,7 +10424,7 @@ function MatrxDataTableCore({
10424
10424
  children: "Load all"
10425
10425
  }
10426
10426
  ) : 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
10427
+ ] }) : !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
10428
  ]
10429
10429
  }
10430
10430
  ) : !hidePagination && totalItems > 0 ? /* @__PURE__ */ jsx38("div", { className: "shrink-0", children: /* @__PURE__ */ jsx38(