Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/apollo-vertex/content/docs/components/timeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Keep the domain mapping on your side: convert your own state into a `TimelineMar
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | `TimelineMarkerVariant` | — | Required. One of `user`, `completed-user`, `completed-ai`, `ai-upcoming`, `ai-suspended`, `ai-progress`, `ai-failed`, `ai-cancelled`, `ai-complete`. |
| `initials` | `string` | — | Shown inside the `user` marker, falling back to `"?"` when omitted. Ignored by other variants. |
| `initials` | `string` | — | Shown inside the `user` marker, falling back to `"?"` when omitted. The compact size shows only the first character. Ignored by other variants. |
| `compact` | `boolean` | `false` | Render the smaller size for dense trails. |

## TimelineRowLayout props
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-vertex/registry/calendar/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function Calendar({
),
weekdays: cn("flex", defaultClassNames.weekdays),
weekday: cn(
"text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",
"text-muted-foreground rounded-md flex-1 font-normal text-xs select-none",
defaultClassNames.weekday,
),
week: cn("flex w-full mt-2", defaultClassNames.week),
Expand All @@ -98,7 +98,7 @@ function Calendar({
defaultClassNames.week_number_header,
),
week_number: cn(
"text-[0.8rem] select-none text-muted-foreground",
"text-xs select-none text-muted-foreground",
defaultClassNames.week_number,
),
day: cn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,9 @@ export function TimelineMarker({
return (
<MarkerCircle
compact={compact}
className={cn(
"bg-muted font-medium text-muted-foreground shadow-sm",
compact ? "text-[9px]" : "text-xs",
)}
className="bg-muted text-xs font-medium text-muted-foreground shadow-sm"
>
{initials ?? "?"}
{(compact ? initials?.[0] : initials) ?? "?"}
Comment thread
ruudandriessen marked this conversation as resolved.
Resolved
</MarkerCircle>
);

Expand Down
Loading