@telamonjs/ui 1.2.0 → 1.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 790823c: Queue Real-time timeline: rows no longer overlap when a job label is long (for example a contract
8
+ `description` used as the display name). The label truncates with a tooltip, the duration keeps its
9
+ width, and the virtualized rows are measured instead of pinned to a fixed height.
10
+
3
11
  ## 1.2.0
4
12
 
5
13
  ### Minor Changes
@@ -7,4 +7,4 @@ export type { ModuleMetadata, ListConfig, CrudColumnDef, FormConfig, QueryConfig
7
7
  export type { ColorPreset, StatItem, HeaderBadgeConfig, HeaderStatsConfig, DialogHeaderConfig, DialogHeaderProps, StatsGridProps, } from '../types/dialog-header';
8
8
  export type { MenuItem, SingleMenuItem, GroupMenuItem, SeparatorMenuItem, MenuItemType, MenuVariant, IconComponent, } from '../types/menu';
9
9
  export type { Density, GapSize, DialogSize, DialogHeight, FieldLayout, CardFieldLayout, } from '../utils/spacing';
10
- export declare const version = "1.2.0";
10
+ export declare const version = "1.2.1";
@@ -1,6 +1,6 @@
1
1
  // src/exports/types-constants.ts
2
2
  import { createPaginatedResponse, asQueryFn } from "../types/pagination.js";
3
- var version = "1.2.0";
3
+ var version = "1.2.1";
4
4
  export {
5
5
  asQueryFn,
6
6
  createPaginatedResponse,
@@ -239,9 +239,25 @@ var JobRow = React.memo(({ job, isSelected, onClick }) => {
239
239
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate text-sm font-medium", children: job.name }),
240
240
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground flex-shrink-0 text-xs", children: timeAgo })
241
241
  ] }),
242
- /* @__PURE__ */ jsxs("div", { className: "ml-[22px] mt-0.5 flex items-center gap-2", children: [
243
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground truncate text-[11px]", children: queueDisplay }),
244
- /* @__PURE__ */ jsx("span", { className: cn("font-mono text-[11px]", config.textLight), children: duration }),
242
+ /* @__PURE__ */ jsxs("div", { className: "ml-[22px] mt-0.5 flex min-w-0 items-center gap-2", children: [
243
+ /* @__PURE__ */ jsx(
244
+ "span",
245
+ {
246
+ className: "text-muted-foreground min-w-0 flex-1 truncate text-[11px]",
247
+ title: queueDisplay,
248
+ children: queueDisplay
249
+ }
250
+ ),
251
+ /* @__PURE__ */ jsx(
252
+ "span",
253
+ {
254
+ className: cn(
255
+ "flex-shrink-0 whitespace-nowrap font-mono text-[11px]",
256
+ config.textLight
257
+ ),
258
+ children: duration
259
+ }
260
+ ),
245
261
  /* @__PURE__ */ jsx(
246
262
  Badge,
247
263
  {
@@ -533,12 +549,13 @@ function TempoRealTab({
533
549
  return /* @__PURE__ */ jsx(
534
550
  "div",
535
551
  {
552
+ "data-index": virtualRow.index,
553
+ ref: rowVirtualizer.measureElement,
536
554
  style: {
537
555
  position: "absolute",
538
556
  top: 0,
539
557
  left: 0,
540
558
  width: "100%",
541
- height: `${virtualRow.size}px`,
542
559
  transform: `translateY(${virtualRow.start}px)`
543
560
  },
544
561
  children: /* @__PURE__ */ jsx(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telamonjs/ui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "description": "Admin framework for Next.js + React: declarative CRUD (CrudConfig + TanStack Query), 36-type field system, rich dialogs, app shell, dashboards and charts",
6
6
  "main": "dist/index.js",