@ai-matrx/detail 0.1.0 → 0.1.1

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/dist/react.js CHANGED
@@ -883,6 +883,7 @@ import {
883
883
  isEntityTypeToken
884
884
  } from "@ai-matrx/associations";
885
885
  import { AssociationCardGrid, PrimaryEntityProvider } from "@ai-matrx/associations/react";
886
+ import { formatDurationMs } from "@ai-matrx/kit/format";
886
887
 
887
888
  // src/format.ts
888
889
  function formatWhen(iso) {
@@ -1284,8 +1285,8 @@ function LoadingFields({ core, label }) {
1284
1285
  label,
1285
1286
  " \u2014 the read has been running for more than",
1286
1287
  " ",
1287
- Math.round(SLOW_LOAD_NOTICE_MS / 1e3),
1288
- " seconds. If nothing appears, the record may be unreachable from here; closing and reopening it starts a fresh read."
1288
+ formatDurationMs(SLOW_LOAD_NOTICE_MS, { style: "long" }),
1289
+ ". If nothing appears, the record may be unreachable from here; closing and reopening it starts a fresh read."
1289
1290
  ] }) : null,
1290
1291
  Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsxs4("div", { className: "space-y-1.5", children: [
1291
1292
  /* @__PURE__ */ jsx5(Skeleton, { className: "h-2.5 w-20" }),