Skip to content
Design System
GitHub

0.61 migration

0.61 moves each screen's demo (the block on sample data, in the app shell) into an item of its own, `<block>-demo`. Installing a block now brings its content and nothing of the shell: no app-shell, its parts or cmdk.

Who has to change something

A screen that renders XxxContent from your data changes nothing: the content, its props, labels, types and helpers stay where they were. A screen that renders the demo export (ProjectMembers, AgentChat) changes one import path and installs the demo item. A product that installed a block before 0.61 keeps app-shell and its parts until it removes them.

Upgrade
# 1. Your screens built on a block's Content: nothing to do. To take 0.61, overwrite as usual.
npx shadcn add @syncrobotic/project-members --overwrite

# 2. A screen that renders a block's demo: install the demo item, then change the import path.
npx shadcn add @syncrobotic/project-members-demo
#    import { ProjectMembers } from "@/components/project-members"
# -> import { ProjectMembers } from "@/components/project-members-demo"
Find what to move
# Run from your project's root: imports from a block that has a demo item. A demo export among them moves to <block>-demo.
grep -rnE 'from "@/components/(console-overview|list-detail|event-log|map-workspace|data-catalog|dataset-detail|governance-todo|settings-page|record-form|users-roles|mission-schedule|users-invitations|users-audit-log|device-enrolment|device-detail|project-members|permission-matrix|webhook-deliveries|offline-licence|tenant-admin|platform-health|incident-queue|incident-detail|maintenance-due|maintenance-work-order|rollout-overview|rollout-plan|agent-runs|agent-trace|agent-approval|agent-chat|agent-run-gate|agent-run-outcome|agent-tool-permissions)"' src

What moved

Each demo item depends on its block and on app-shell, and holds the sample data and the shell's navigation that only the demo used. The nav lists (projectNav, deviceNav, dataNav) moved with it; the exported sample records (sampleIncidents, sampleDevice) stayed with the block. Four blocks had no content export before; they gain one: AgentRunsContent, AgentTraceContent, AgentApprovalContent and RecordFormContent.

BlockDemo itemExports that moved
console-overviewconsole-overview-demoConsoleOverview
list-detaillist-detail-demoListDetail
event-logevent-log-demoEventLog
map-workspacemap-workspace-demoMapWorkspace
data-catalogdata-catalog-demodataNav, DataCatalog
dataset-detaildataset-detail-demoDatasetDetail
governance-todogovernance-todo-demoGovernanceTodo
settings-pagesettings-page-demoSettingsPage
record-formrecord-form-demoRecordForm
users-rolesusers-roles-demoUsersRoles
mission-schedulemission-schedule-demoMissionSchedule
users-invitationsusers-invitations-demoUsersInvitations
users-audit-logusers-audit-log-demoUsersAuditLog
device-enrolmentdevice-enrolment-demodeviceNav, DeviceEnrolment
device-detaildevice-detail-demoDeviceDetail
project-membersproject-members-demoprojectNav, ProjectMembers
permission-matrixpermission-matrix-demoPermissionMatrix
webhook-deliverieswebhook-deliveries-demoWebhookDeliveries
offline-licenceoffline-licence-demoOfflineLicence
tenant-admintenant-admin-demoTenantAdmin
platform-healthplatform-health-demoPlatformHealth
incident-queueincident-queue-demoIncidentQueue
incident-detailincident-detail-demoIncidentDetail
maintenance-duemaintenance-due-demoMaintenanceDue
maintenance-work-ordermaintenance-work-order-demoMaintenanceWorkOrder
rollout-overviewrollout-overview-demoRolloutOverview
rollout-planrollout-plan-demoRolloutPlan
agent-runsagent-runs-demoAgentRuns
agent-traceagent-trace-demoAgentTrace
agent-approvalagent-approval-demoAgentApproval
agent-chatagent-chat-demoAgentChat, AgentChatSheet
agent-run-gateagent-run-gate-demoAgentRunGate
agent-run-outcomeagent-run-outcome-demoAgentRunOutcome
agent-tool-permissionsagent-tool-permissions-demoAgentToolPermissions