From bbfc414c49b2442588298bfc66b53c990ea98cf8 Mon Sep 17 00:00:00 2001 From: Gethin Webster Date: Mon, 18 May 2026 12:24:30 +0000 Subject: [PATCH] feat(prompt-input): release customPrimaryAction for all systems Remove @awsuiSystem core annotation from customPrimaryAction prop, making it available to console and all other systems. This slot prop allows replacing the default send button with a custom action. The component continues to manage focus and keyboard submission regardless of custom content. --- .../snapshot-tests/__snapshots__/documenter.test.ts.snap | 3 --- src/prompt-input/interfaces.ts | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap b/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap index 5e121a8df6..fc5255305f 100644 --- a/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap +++ b/src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap @@ -21883,9 +21883,6 @@ If this is provided then any other \`actionButton*\` properties will be ignored. Note that you should still provide an \`onAction\` function in order to handle keyboard submission.", "isDefault": false, "name": "customPrimaryAction", - "systemTags": [ - "core", - ], }, { "description": "Use this slot to add secondary actions to the prompt input.", diff --git a/src/prompt-input/interfaces.ts b/src/prompt-input/interfaces.ts index 23371f20ee..8dbc44fe52 100644 --- a/src/prompt-input/interfaces.ts +++ b/src/prompt-input/interfaces.ts @@ -173,8 +173,6 @@ export interface PromptInputProps * Use this to replace the primary action. * If this is provided then any other `actionButton*` properties will be ignored. * Note that you should still provide an `onAction` function in order to handle keyboard submission. - * - * @awsuiSystem core */ customPrimaryAction?: React.ReactNode;