-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sparkle] - refactor: streamline handling of animated text variants
- Abstract animated text background and text color variants into separate records for cleaner code structure - Use cva utility from `class-variance-authority` to manage TextArea component styles, introducing a more flexible and scalable approach to variant handling [sparkle] - fix: mark `isBusy` prop in `Chip` component as potentially undefined - Adjust typings for `isBusy` prop to correctly reflect its optional nature in the `Chip` component [sparkle] - refactor: introduce cva to refactor `TextArea` styles and variants - Consolidate `TextArea` styling and variant handling into a single cva call to improve readability and maintainability - Simplify the props destructuring in the `TextArea` component by relying on cva to handle default variants and classes
- Loading branch information
1 parent
157438d
commit 514e6ad
Showing
3 changed files
with
86 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters