Skip to content

feat: Release customPrimaryAction for all systems#4529

Draft
gethinwebster wants to merge 1 commit into
mainfrom
feat/release-prompt-input-custom-primary-action
Draft

feat: Release customPrimaryAction for all systems#4529
gethinwebster wants to merge 1 commit into
mainfrom
feat/release-prompt-input-custom-primary-action

Conversation

@gethinwebster
Copy link
Copy Markdown
Member

Description

Remove @awsuiSystem core annotation from prompt-input.customPrimaryAction, making it available for all systems.

Slot prop for a custom primary action button. The component manages focus and keyboard handling regardless of system.

Related links, issue #, if available: n/a

How has this been tested?

  • Existing unit and integration tests continue to pass
  • Snapshot tests updated via npx jest -c jest.unit.config.js -u documenter
Review checklist

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible.
  • Changes do not include unsupported browser features.
  • N/A for accessibility (annotation-only change).

Security

  • N/A (no URL handling changes).

Testing

  • Existing tests cover this prop.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.42%. Comparing base (f2240cf) to head (bbfc414).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4529   +/-   ##
=======================================
  Coverage   97.42%   97.42%           
=======================================
  Files         936      936           
  Lines       29626    29626           
  Branches    10764    10764           
=======================================
  Hits        28864    28864           
  Misses        755      755           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant