From 0b1588c90414177263b8943b39e33752c02d5e34 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 9 Sep 2026 14:05:12 +0000 Subject: [PATCH] docs(toast): delete the retired `action` key from the ToastSchema fence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `content/docs/components/feedback/toast.mdx` published an illustrative `ToastSchema` interface whose fence still taught an `action?: { label; onClick }` member. Both published faces retire that key (objectui#8338, ADR-0049 enforce-or-remove): `packages/types/src/feedback.ts` declares `action?: never` and `packages/types/src/zod/feedback.zod.ts` answers with a `retirementTombstone()`. A reader who copied the fence therefore got `tsc` and `safeParse` refusing the same literal, with nothing on the page telling them the docs were the wrong party. There is no replacement to document: objectui#6250 moved all seven toast demos off in-toast action and the capability was never implemented, so the fence loses the block outright — no "not yet supported" line, and no pointer at a future shape. The rest of the fence is left exactly as it was; its other omissions (`position`, `buttonLabel`, `buttonVariant`, the `onDismiss` tombstone) are a hand-maintained subset the card names and deliberately declines. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH --- content/docs/components/feedback/toast.mdx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/content/docs/components/feedback/toast.mdx b/content/docs/components/feedback/toast.mdx index 4440f2d5ed..2b55b79fd6 100644 --- a/content/docs/components/feedback/toast.mdx +++ b/content/docs/components/feedback/toast.mdx @@ -37,12 +37,6 @@ interface ToastSchema { description?: string; // Toast message variant?: 'default' | 'success' | 'warning' | 'error' | 'info'; - // Action button - action?: { - label: string; - onClick: () => void; - }; - // Timing duration?: number; // Auto-dismiss time in ms }