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

feat: fix Input prefill style regression, add isPrefilled prop to Datepicker and Select #754

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

karrui
Copy link
Collaborator

@karrui karrui commented Sep 16, 2024

This PR fixes the regression where isPrefilled state started to do nothing on the Input component due to downstream ChakraUI changes on their Input component.

This PR also adds the isPrefilled prop to the following components:

  • SingleSelect
  • MultiSelect
  • DatePicker
  • DateRangePicker

The prefilled styling follows the styling of the Input component.

See storybook for details.

@karrui karrui changed the title fix: set input styles with sx instead of css feat: add isPrefilled prop to date and select components Sep 16, 2024
Copy link
Collaborator Author

karrui commented Sep 16, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @karrui and the rest of your teammates on Graphite Graphite

@karrui karrui changed the title feat: add isPrefilled prop to date and select components feat: add isPrefilled prop to Datepicker and Select components Sep 16, 2024
@karrui karrui marked this pull request as ready for review September 16, 2024 03:51
@karrui karrui changed the title feat: add isPrefilled prop to Datepicker and Select components feat: fix Input prefill style regression, add isPrefilled prop to Datepicker and Select Sep 16, 2024
@karrui karrui merged commit a7bcfd3 into main Sep 16, 2024
13 checks passed
@karrui karrui deleted the fix_prefilled_states branch September 16, 2024 03:54
@karrui karrui mentioned this pull request Sep 16, 2024
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.

1 participant