This pull request introduces a significant refactor of the Tabs component tests and adds a new Textarea component with theming capabilities. The changes in the Tabs component tests include updating imports to use @solidjs/testing-library and adjusting the render method to be a function call. For the new Textarea component, it implements a flexible theming approach using solid-js and tailwind-merge, allowing for customizable styles.
Summary
Updated Tabs component tests to use @solidjs/testing-library for imports and modified the render method to be a function call to align with SolidJS patterns.
Added a new Textarea component with a theming capability. This component utilizes solid-js for reactivity and tailwind-merge for conditional class merging.
Introduced a theming structure for the Textarea component, allowing for deep customization of styles through a theme prop.
Utilized mergeProps and splitProps from solid-js to handle props effectively, ensuring a clean and maintainable codebase.
Files affected:
src/components/Tabs/Tabs.spec.tsx: Refactored to improve test reliability and compatibility with SolidJS.
src/components/Textarea/Textarea.tsx: New file introducing the Textarea component with theming capabilities.
Fixes #24.
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
Description
This pull request introduces a significant refactor of the
Tabs
component tests and adds a newTextarea
component with theming capabilities. The changes in theTabs
component tests include updating imports to use@solidjs/testing-library
and adjusting the render method to be a function call. For the newTextarea
component, it implements a flexible theming approach usingsolid-js
andtailwind-merge
, allowing for customizable styles.Summary
Tabs
component tests to use@solidjs/testing-library
for imports and modified the render method to be a function call to align with SolidJS patterns.Textarea
component with a theming capability. This component utilizessolid-js
for reactivity andtailwind-merge
for conditional class merging.Textarea
component, allowing for deep customization of styles through atheme
prop.mergeProps
andsplitProps
fromsolid-js
to handle props effectively, ensuring a clean and maintainable codebase.src/components/Tabs/Tabs.spec.tsx
: Refactored to improve test reliability and compatibility with SolidJS.src/components/Textarea/Textarea.tsx
: New file introducing theTextarea
component with theming capabilities.Fixes #24.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: