action.shortcut).join("")}
+ className={cn(
+ "flex min-h-0 flex-1 items-center justify-center overflow-y-auto px-6 pt-6 outline-none",
+ // The panel topbar sits above this container; matching bottom padding
+ // keeps the cards centered against the full panel, not the leftover.
+ "pb-[calc(var(--workspace-topbar-height)+--spacing(6))]",
+ )}
+ >
+
+
+
Open a surface
+
Choose what to show in the right panel.
- {actions.map((action) => {
- const Icon = action.icon;
- const content = (
- <>
-
-
- {action.badgeCount > 0 ? (
-
- {action.badgeCount}
-
- ) : null}
-
- {action.label}
-
- {action.description}
-
- >
- );
- if (action.available) {
- return (
-
- );
- }
- const disabledCard = (
+ {actions.map((action) =>
+ action.available ? (
- );
- return (
-
- );
- })}
+ className={cn(
+ "relative flex w-full flex-col items-start p-4 opacity-40",
+ cardShellClass,
+ )}
+ >
+ {action.shortcut}
+
+ {actionIcon(action)}
+ {action.label}
+
+
+ {action.disabledReason}
+
+
+ ),
+ )}