Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sparkle] - enh: TextArea #7767

Merged
merged 2 commits into from
Oct 1, 2024
Merged

[sparkle] - enh: TextArea #7767

merged 2 commits into from
Oct 1, 2024

Conversation

JulesBelveze
Copy link
Contributor

Description

This PR aims at enhancing the TextArea component of sparkle.

These changes are part of the efforts to get rid of the Poke* components we have in front. Also, this PR aligns with the efforts introduced by #7475 to have our design system to be heavily based on shacdn.

References:

Risk

Breaking changes on TextArea components used by front

Deploy Plan

  • Deploy sparkle
  • Create a new PR to update front components and get rid of PokeTextarea

Jules added 2 commits September 30, 2024 17:13
…a attributes

- Modified `TextArea` component props to extend native HTML textarea element attributes for better flexibility
- Removed unused `ref` and simplified logic by spreading props directly into the `textarea` element
- Reworked `TextArea` stories to utilize the `defaultValue` prop instead of the `value` prop for uncontrolled component behaviour
 - Package version updated to include new changes or features
 - Ensures consistency across package-lock.json and package.json files
@JulesBelveze JulesBelveze merged commit 0dd5a9d into main Oct 1, 2024
3 checks passed
@JulesBelveze JulesBelveze deleted the enh/sparkle/textarea branch October 1, 2024 11:55
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.

2 participants