Skip to content

Conversation

@syeo66
Copy link
Contributor

@syeo66 syeo66 commented Nov 21, 2025

What does this PR do?

This PR deprecates the extraActions feature in the Textarea component, removes related stories from Storybook, and fixes several issues:

Deprecations & Cleanup:

  • Deprecated ExtraAction type with JSDoc comment directing users to use Textarea.Slot instead
  • Deprecated extraActions prop in TextareaProps
  • Removed WithExtraActions story
  • Removed WithSlotsAndExtraActions story

The slot-based approach (Textarea.Slot) is more flexible and aligns better with the component's architecture, allowing users to place custom actions in either left or right slots with full control over styling and behavior.

Additional notes

The extraActions prop is deprecated but not removed, maintaining backward compatibility for existing implementations. Users should migrate to the Textarea.Slot pattern soon-ish (if it is even used at all).

Related tickets

CU-869b7z80p

@syeo66 syeo66 requested a review from a team as a code owner November 21, 2025 08:51
@syeo66 syeo66 requested a review from SamuelAlev November 21, 2025 08:51
@changeset-bot
Copy link

changeset-bot bot commented Nov 21, 2025

🦋 Changeset detected

Latest commit: 7b8470a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@frontify/fondue-components Minor
@frontify/fondue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@syeo66 syeo66 self-assigned this Nov 21, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-11-21 09:18 UTC

@syeo66 syeo66 merged commit 3a4f967 into main Nov 21, 2025
15 checks passed
@syeo66 syeo66 deleted the feat/make-textarea-extensions-more-flexible branch November 21, 2025 09:18
@github-actions
Copy link
Contributor

Lead time: 37 minutes, 40 seconds (0.63 total hours) from first commit to close.
Review time: 26 minutes, 24 seconds (0.44 total hours) from ready for review to close.

  • First commit: 21.11.2025, 09:40:28.
  • Ready for review: 21.11.2025, 09:51:44.
  • Closed: 21.11.2025, 10:18:08.

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.

3 participants