Skip to content

Refactor and move Input component#33

Merged
charlesLoder merged 4 commits intomainfrom
issue-31/move-input
Sep 2, 2025
Merged

Refactor and move Input component#33
charlesLoder merged 4 commits intomainfrom
issue-31/move-input

Conversation

@charlesLoder
Copy link
Owner

Close #31

@charlesLoder charlesLoder requested a review from Copilot September 2, 2025 15:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the Input component by moving it from a provider-specific location to a shared components directory, updates its styling to use design tokens, and improves accessibility features.

  • Moved Input component from src/provider/components/Input/ to src/components/Input/
  • Refactored styling to use CSS custom properties and design tokens
  • Enhanced accessibility with proper ARIA attributes

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
stories/components/Input.stories.ts Added comprehensive Storybook stories for the Input component
src/provider/index.tsx Updated import path and removed customSize prop
src/provider/components/Input/style.module.css Removed old CSS file
src/provider/components/Input/index.tsx Removed old Input component file
src/components/index.ts Added Input component export
src/components/Input/style.module.css Added new CSS file with design token integration
src/components/Input/index.tsx Added new Input component with accessibility improvements

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

charlesLoder and others added 2 commits September 2, 2025 11:18
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@charlesLoder charlesLoder merged commit fe28dc8 into main Sep 2, 2025
3 checks passed
@charlesLoder charlesLoder deleted the issue-31/move-input branch September 2, 2025 15:22
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.

Move the input component to @components

1 participant

Comments